On 03/01/2011 01:50 PM, Jorge Aldo G. de F. Junior wrote:
i have implemented a small consumer x producer unit (ie: threads that
produce or consume tobjects)
it is thread safe (based around a tthreadsafequeue with signalling -
the thread can sleep/wait arbitrary timeout time while its queue is
em
Michael Van Canneyt wrote:
> On Thu, 20 Sep 2007, David Mears wrote:
>
>
>> from fpc/packages/fcl-base/src/inc/zstream.pp
>>
>> I'm not really sure why this is in the destructor for tdecompressionstream.
>>
>> if FZRec.avail_in <>
from fpc/packages/fcl-base/src/inc/zstream.pp
I'm not really sure why this is in the destructor for tdecompressionstream.
if FZRec.avail_in <> 0 then
Source.Seek(-FZRec.avail_in, soFromCurrent);
my tdecompressionstream is fed by a tideadecryptstream - when
tdecompressionstream is freed it
> Probably this is of interrest for you: The terminal sends a SIGWINCH to
> the running process when it is resized. The process then requests its
> current size by an ioctl() TIOCGWINSZ to the stdout handle (0).
>
> You can test this in a simple shell window. Start two xterms (or which
> terminal
Graeme Geldenhuys wrote:
I'm not 100% sure what he means. From what I gather it's when you
resize a console window which is running FP, the Editor windows
resizes accordingly.
Basically just that, if you change the size the console window fp is in,
the application sizes itself to fit the wi
Are there guides/documentation available for freevision? I actually may
have the original manuals/media etc for turbo pascal 7- but if so,
they're in a box in my parents house, so getting them is somewhat
impractical. Information on the internet for either free vision or
turbo vision seem somewha
is there a generic multiplatform way to detect sparse files besides
looking for run-ons of #0s?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
From the first pascal program that I wrote in the late 80s to today,
I've only used Goto once and that was because I was still learning the
language - it was essentially a repeat loop and I replaced it in later
versions.
Pascal lets you do stupid things- it just makes you confirm that you do
I think I've just found my 3rd bug in the unit.
for me, it always says true when booleans are returned with .asBoolean,
and as empty strings when returned with .asString with the latest svn
compiler, is this also true of the release compiler?
{
This file is part of the Free Component Library
Michael Van Canneyt wrote:
On Mon, 23 Oct 2006, David Mears wrote:
is this bit of syntactic weirdness a fpc element, or from delphi. I've
largely been away from pascal since the early 90s, mostly only using it to
write dos-y non-object-y utilities, for which it excels.
typed cons
is this bit of syntactic weirdness a fpc element, or from delphi. I've
largely been away from pascal since the early 90s, mostly only using it
to write dos-y non-object-y utilities, for which it excels.
typed constants seem to basically to be like the static keyword from
c.. but not a var mo
11 matches
Mail list logo