Getting Squeak to stop hanging on file I/O (and to start blocking threads on serial)?

Andreas Raab Andreas.Raab at gmx.de
Sat Apr 13 22:26:30 UTC 2002


> That's similar to what I'm doing. Start a Win32 thread that does a
> read, then Interpreter>>signalSemaphoreWithIndex when the 
> read completes. It works, but it's complicated and (pending
> further debugging) unreliable.

How so? Did you check sqWin32AsyncFile.c?! It does exactly what you're
describing and -from my experience- works just nicely.

Cheers,
  - Andreas




More information about the Squeak-dev mailing list