[fpc-pascal]Problem with AssignStream() on Linux

Yet Another Geek yetanothergeek at yahoo.com
Sun Jun 23 08:09:55 CEST 2002

When I try to use AssignStream() to read more than
4096 bytes, my program hangs. 

Not sure what is causing this, but seems to be
something of a "deadlock" situation - 
the child will not continue writing until the buffer
is flushed, and the parent 
will not flush the buffer until the child is finished

So both programs are stuck waiting on each other.

Does anyone know a workaround for this, or am I doing
something wrong ?

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

More information about the fpc-pascal mailing list