[fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
memsom
memsom at interalpha.co.uk
Wed Sep 20 11:02:47 CEST 2006
- Previous message (by thread): [fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
- Next message (by thread): [fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
> 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
Then use the handle with one of the following:
WaitForSingleObject / WaitForMultipleObjects
Depending on what you are doing, making sure you pass a sensible sleep
timeout.
- Previous message (by thread): [fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
- Next message (by thread): [fpc-pascal] Sched_Yield, TThread, Multiplexing, Sysutils, Sleep, Win32, Linux, and Thanks
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fpc-pascal
mailing list