|
From: | Jon Bright |
Subject: | Re: [Monotone-devel] Removing things from the database |
Date: | Fri, 18 Feb 2005 13:44:24 +0100 |
User-agent: | Mozilla Thunderbird 1.0 (Windows/20041206) |
Nathaniel Smith wrote:
Err... and how do you select()?
A semaphore plus WaitForSingleObject would probably do the job. There may be easier ways.
As Christof suggests elsewhere, one could use CreatePipe et al - though this does restrict you to either
a) WinNT-based OSes, or b) Only communicating between parent and child processes..since 95/98/ME don't support named pipes. If you wanted to do async stuff, you'd probably also end up using a semaphore or using the dreaded overlapped I/O stuff.
-- Jon Bright Silicon Circus Ltd. http://www.siliconcircus.com
[Prev in Thread] | Current Thread | [Next in Thread] |