[fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
micha at neli.hopto.org
Wed Sep 20 19:56:10 CEST 2006
>> 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.
More information about the fpc-pascal