Linux, fcntl, F_SETLEASE and signals
Chris Green
cmg at dok.org
Mon Jul 26 15:34:41 EDT 2004
Jeff Epler <jepler at unpythonic.net> writes:
> What I don't see here is any handling of threads.
http://cmg.dok.org/code/linuxlease-0.3.tar.gz now has the same signal
code roughly as signalmodule.c. The biggest difference is that I
add to my internal queue the pending calls with an argument of a
pointer to the signal handler argument.
I'm not sure that is safe but it seems to work. Ideally, I'd
allocate space for the argument and then queue it.
--
Chris Green <cmg at dok.org>
A good pun is its own reword.
More information about the Python-list
mailing list