|
From: | Lyndon Nerenberg |
Subject: | Re: [Nmh-workers] Locking (specifically, sequences) |
Date: | Mon, 11 Mar 2013 19:03:23 -0700 (PDT) |
User-agent: | Alpine 2.00 (OSX 1167 2008-08-23) |
So you're calling select() and fcntl(LOCK...) at the same time?
Not without a concurrency-of-time machine.I'm at the pub with some people you don't want contributing to this conversation, so I will mostly defer this conversation until tomorrow ;-)
But the trick of using select() to catch async events in single-threaded code isn't new, and some basic duckduckgo-fu should turn up many examples.
--lyndon
[Prev in Thread] | Current Thread | [Next in Thread] |