>The cheap hack way out of this is to set up a select() loop, create a >pipe(), set a timer, then do the lock. If the alarm fires, write a byte >down the pipe from the signal handler which triggers a return from the >select(), and a lookup of the returned FD tells you "timeout!"
So you're calling select() and fcntl(LOCK...) at the same time? --Ken _______________________________________________ Nmh-workers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/nmh-workers
