From owner-freebsd-hackers Thu Nov 9 13:47:54 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 733AF37B479 for ; Thu, 9 Nov 2000 13:47:50 -0800 (PST) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id C36B5193DF; Thu, 9 Nov 2000 15:47:49 -0600 (CST) Received: (from nectar@localhost) by hamlet.nectar.com (8.11.1/8.9.3) id eA9Llni25732; Thu, 9 Nov 2000 15:47:49 -0600 (CST) (envelope-from nectar@spawn.nectar.com) Date: Thu, 9 Nov 2000 15:47:49 -0600 From: "Jacques A. Vidrine" To: Bjorn Tornqvist Cc: freebsd-hackers@freebsd.org Subject: Re: Modifying msgrcv() and msgsnd() Message-ID: <20001109154749.A25637@hamlet.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Bjorn Tornqvist , freebsd-hackers@freebsd.org References: <3A0AC4FB.DEE94ED9@west.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A0AC4FB.DEE94ED9@west.se>; from bjorn.tornqvist@west.se on Thu, Nov 09, 2000 at 04:38:35PM +0100 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 09, 2000 at 04:38:35PM +0100, Bjorn Tornqvist wrote: > I'm going to add 2 functioncalls to the kernel; msgrcv_t() msgsnd_t() > ("t" as in timeout) where the user will be able to specify a maximum > amount of time they are prepared to wait for a message to be sent or > become available. > > I just wonder if the rest of the freebsd community is interested in > these kinds of additions to the kernel? I'm pretty certain there is > alot more people out there who'd like this functionality. Should I > bother posting them to the list? > > As a sidenote: The main reason I need this is since I can't use > longjmp()/setjmp() with alarm() between pthread contexts; with FreeBSD > 5.0 this fix probably won't be necessary (but still nice to have > though). > > And besides, I'd get paid to contribute to the project! =) I think this might be better handled by a kevent filter for message queues, if you are going to hack something in the kernel for your application. At least then it might find some general use. -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message