[fpc-pascal] Use sleep in thread

Xiangrong Fang xrfang at gmail.com
Wed Feb 25 15:41:58 CET 2015


Hi All,

Can I use Sleep() in a thread to give up cpu time to other threads running
at the same time, so as to adjust the relative "niceness" of a group of
workers working on the same subject (in which each thread take part of the
whole task).

Thanks!

Xiangrong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20150225/a05e1209/attachment.html>


More information about the fpc-pascal mailing list