[fpc-pascal] Use sleep in thread

Marco van de Voort marcov at stack.nl
Thu Feb 26 10:50:21 CET 2015


In our previous episode, Michael Schnell said:
> > You may use RTLEvents to pause a thread. =>
> >
> Obviously CPU the overhead is a lot greater than with just calling sleep.

??? Afaik they are the procedural counterpart of TEvents, and I think that
using them is cheaper than sleep, since you only unblock when needed.



More information about the fpc-pascal mailing list