Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Nov 2000 15:47:49 -0600
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Bjorn Tornqvist <bjorn.tornqvist@west.se>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Modifying msgrcv() and msgsnd()
Message-ID:  <20001109154749.A25637@hamlet.nectar.com>
In-Reply-To: <3A0AC4FB.DEE94ED9@west.se>; from bjorn.tornqvist@west.se on Thu, Nov 09, 2000 at 04:38:35PM %2B0100
References:  <3A0AC4FB.DEE94ED9@west.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001109154749.A25637>