nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] Locking (specifically, sequences)

2013-03-11 21:04:56
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


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>