Subject: Re: wsevent cleanup
To: None <jmmv84@gmail.com>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 02/07/2006 05:41:53
> >> - Add two new functions, wsevent_free and wsevent_inject.  The former
> >>   returns the amount of free space in the queue and the latter adds a
> >>   new event to it.  The latter assumes that the queue has at least  
> >> one
> >>   free slot.
> >
> > I think wseevent_free is a poor name (sonds like the free you do  
> > after malloc).
> > Maybe wsevent_available()?
> 
> Excellent.  I also thought that free was inappropriate but couldn't
> think of a better name :-)

to me, "inject" also sounds weird, given that what it does is
the opposite of read.  i'd suggest enqueue or write.

there is very old patch which does something similar.
http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=12132

YAMAMOTO Takashi