Re: [take24 0/6] kevent: Generic event handling mechanism.

Ulrich Drepper
2006-11-22T21:05:40Z

Evgeniy Polyakov wrote:
> But in this case it will be impossible to have SIGEV_THREAD and SIGEV_KEVENT
> at the same time, it will be just the same as SIGEV_SIGNAL but with
> different delivery mechanism. Is is what you expect for that?

Yes, that's expected. The event if for the queue, not directed to a
specific thread.

If in future we want to think about preferably waking a specific thread
we can then think about it. But I doubt that'll be beneficial. The
thread specific part in the signal handling is only used to implement
the SIGEV_THREAD notification.

--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖