Messages in this thread | | | Date | Fri, 03 Oct 2003 23:39:12 -0700 | From | Ulrich Drepper <> | Subject | Re: [PATCH] [2/2] posix message queues |
| |
Peter Wächtler wrote:
> + if (q->notify.sigev_notify == SIGEV_THREAD) { > + > + err = -ENOSYS; > + pr_info("mq_*send: SIGEV_THREAD not supported\n"); > + }
In all the SIGEV_THREAD cases I suggest that you expect to be passed a futex address. Upon completion you increment the value and call sys_futex with FUTEX_WAKE.
This gives plenty of freedom at userlevel to implement the actual work.
-- --------------. ,-. 444 Castro Street Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA Red Hat `--' drepper at redhat.com `---------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |