memsom wrote: >> it seemed to run in a serial fashion and not as a separate task. > > Well... Win32 at any rate, use one of the following: > > CreateSemaphore / CreateMutex / CreateEvent
These are abstracted in the syncobjs unit IIRC. They are in general used to wait for something to become available and thereby putting the thread to sleep, yes. Micha _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal