[fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks

Micha Nelissen micha at neli.hopto.org
Wed Sep 20 19:56:10 CEST 2006

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.


More information about the fpc-pascal mailing list