On 16 Jan 2012, at 22:25, Jorge Aldo G. de F. Junior wrote: > is there a way to do the equivalent of waifor but with some kind of timeout ?
No. And at least the Unix pthreads library does not offer such an API, so it can't be added without some kind of emulation either (adding an extra event per thread or so to wait on -- but every thread already consumes quite a few extra such resources, and they should be kept to a minimum). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal