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/