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

# Re: POSIX aio vs completion ports

Stephen C. Tweedie (sct@redhat.com)
Wed, 15 Sep 1999 01:15:43 +0100 (BST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Alan Cox: "Linux 2.2.13pre8"
- Previous message: Richard Gooch: "Re: MTRR setting and framebuffer driver"

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/

- Next message: Alan Cox: "Linux 2.2.13pre8"
- Previous message: Richard Gooch: "Re: MTRR setting and framebuffer driver"