[Python-3000] iostack and sock2

Jason Lunz lunz at falooley.org
Tue Jun 6 03:44:36 CEST 2006

greg.ewing at canterbury.ac.nz said:
> (BTW, I actually think this sort of functionality should be part of
> the OS kernel, with event-driven programs and libraries being so
> important nowadays. Sort of like being able to define signal handlers
> for file descriptors instead of having a small, fixed number of
> signals.)

do you mean that hypothetically? That's supported on linux, but I don't
know how portable it is. You *can* define signal handlers for file
descriptors. See F_SETSIG in fcntl(2), and sigaction(2).


More information about the Python-3000 mailing list