<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 20.02.2013 11:36, Mark Morgan Lloyd wrote:
<blockquote cite="mid:kg21ut$2tv$1@pye-srv-01.telemetry.co.uk"
type="cite">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?
<br>
<br>
</blockquote>
<font face="Liberation Sans">Thread1<br>
<br>
fEvent.WaitFor(INFINITE)</font>; // hang on signal handle<br>
<br>
Thread2<br>
<br>
fEvent.SetEvent; // this releases thread1 form waiting<br>
<br>
<br>
regards<br>
Anton<br>
</body>
</html>