Evgeniy Polyakov wrote:
With provided patch it is possible to wakeup 'for-free' - just call kevent_ctl(ready) with zero number of ready events, so thread will be awakened if it was in poll(kevent_fd), kevent_wait() or kevent_get_events().
Yes, I realize that. But I wrote something else: >> Rather than mark an existing entry as ready, how about a call to >> inject a new ready event? >> >> This would be useful to implement functionality at userlevel and >> still use an event queue to announce the availability. Without this >> type of functionality we'd need to use indirect notification via >> signal or pipe or something like that. This is still something which is wanted. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- References:
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Ulrich Drepper <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- From: Evgeniy Polyakov <[email protected]>
- Re: [take24 0/6] kevent: Generic event handling mechanism.
- Prev by Date: Re: [Patch1/4]: fake numa for x86_64 patch
- Next by Date: Re: Kevent POSIX timers support.
- Previous by thread: Re: [take24 0/6] kevent: Generic event handling mechanism.
- Next by thread: Re: [take24 0/6] kevent: Generic event handling mechanism.
- Index(es):