From: Ulrich Drepper <drepper@redhat.com>
To: "Peter �" <pwaechtler@mac.com>
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org, torvalds@osdl.org,
bo.z.li@intel.com, manfred@colorfullife.com
Subject: Re: [PATCH] [2/2] posix message queues
Date: Fri, 03 Oct 2003 23:39:12 -0700 [thread overview]
Message-ID: <3F7E6B10.2000503@redhat.com> (raw)
In-Reply-To: <1065196646.3682.54.camel@picklock.adams.family>
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 `---------------------------
next prev parent reply other threads:[~2003-10-04 6:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-03 15:59 [PATCH] [2/2] posix message queues Peter Wächtler
2003-10-03 18:16 ` Manfred Spraul
2003-10-05 12:42 ` Peter Wächtler
2003-10-05 14:39 ` Arjan van de Ven
2003-10-05 15:58 ` Ulrich Drepper
2003-10-03 22:22 ` Jakub Jelinek
2003-10-05 12:42 ` Peter Wächtler
2003-10-04 6:39 ` Ulrich Drepper [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-11-25 11:42 [PATCH] 2/2 POSIX " Michal Wronski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F7E6B10.2000503@redhat.com \
--to=drepper@redhat.com \
--cc=akpm@osdl.org \
--cc=bo.z.li@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=pwaechtler@mac.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.