lkml.org 
[lkml]   [1999]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: POSIX aio vs completion ports
Hi,

On Sun, 12 Sep 1999 14:55:05 -0400 (EDT), Chuck Lever <cel@monkey.org> said:

> On Sun, 12 Sep 1999, Alan Cox wrote:
>> > * As far as I know, there is no way to allocate a POSIX real time signal
>> > number in a thread safe manner. There is no equivalent to the socket()
>> > system call--one must just pick a number and hope that no other thread
>> > in the same process just picked the same number.
>>
>> So you write a library routine for it. Now that is hard. Its a non kernel
>> issue.

> no, it isn't a non-kernel issue. this must be done atomically wrt the
> user level,

No, it must be atomic between threads. No big deal, the user-mode code
can use a lock. It's a non-kernel issue.

--Stephen

-
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.099 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site