Linux-kernel mailing list archive 1999-37,: Re: POSIX aio vs completion ports

# Re: POSIX aio vs completion ports

Mike Shaver (shaver@mozilla.org)
Mon, 13 Sep 1999 08:18:54 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Martin Tessun: "Re: Strange kbd problems with 2.3.17 on toshiba satellite 4030cdt"
- Previous message: Arie Rudich: "Raising number of file handles per process"
- Maybe in reply to: John Gardiner Myers: "POSIX aio vs completion ports"
- Next in thread: Jordan Mendelson: "Re: POSIX aio vs completion ports"

Chuck Lever wrote:
> you have to select a signal number and set up the signal handler in a
> single system call. otherwise, you're racing with other threads that
> could be doing this at the same time, right?

Can't you check the value of the old handler when you set yours, to find
out if you lost the race? If so, you just pick another signal, rinse
and repeat.

Mike

    --
    2135730.49 2038598.26

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Martin Tessun: "Re: Strange kbd problems with 2.3.17 on toshiba satellite 4030cdt"
- Previous message: Arie Rudich: "Raising number of file handles per process"
- Maybe in reply to: John Gardiner Myers: "POSIX aio vs completion ports"
- Next in thread: Jordan Mendelson: "Re: POSIX aio vs completion ports"