> 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.



_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to