Messages in this thread | | | Date | Mon, 13 Sep 1999 08:18:54 -0400 | From | Mike Shaver <> | Subject | 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/
| |