lkml.org 
[lkml]   [1999]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.048 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site