Subject: Re: wsevent cleanup
To: Julio M. Merino Vidal <jmmv84@gmail.com>
From: Matthew Orgass <darkstar@city-net.com>
List: tech-kern
Date: 02/06/2006 14:22:12
On 2006-02-06 jmmv84@gmail.com wrote:

> wsevent_inject could assert that N < X, provided that there is another
> operation to retrieve the queue's size.  How do you see this?

  Avoiding dependencies between calls makes locking much easier.  If
callers want both all or nothing behavior and write as many as possible,
providing both in the API lets them indicate the desired behavior without
additional dependencies.

Matthew Orgass
darkstar@city-net.com