Subject: Re: "fast" syscalls?
To: Jason Thorpe <email@example.com>
From: Garrett D'Amore <firstname.lastname@example.org>
Date: 03/17/2006 13:02:53
Jason Thorpe wrote:
> On Mar 17, 2006, at 12:19 PM, Garrett D'Amore wrote:
>> Yesterday there was discussion of using a blocking lwp to do it. I may
>> investigate that.
> For the consumer? Then it would have to wake up and poll
> periodically, yes?
> -- thorpej
No. Application starts thread, which issues ioctl that never returns.
The ioctl code causes the thread to call tsleep when no data in the queue.
Then I can "kick" that thread after adding stuff to the queue by calling
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
Phone: 951 325-2134 Fax: 951 325-2191