On 20.02.2013 11:36, Mark Morgan Lloyd wrote:
If I want to poll a variable set by an asynchronous unix-style signal, i.e. that doesn't have an OS-level handle and where the latency should probably be of the order of 100mSec, what's the most effective technique?
Thread1 fEvent.WaitFor(INFINITE); // hang on signal handle Thread2 fEvent.SetEvent; // this releases thread1 form waiting regards Anton
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
