Joel VanderWerf wrote:
> Since I already had a reader count (to prevent closing too early with 
> multiple readers), it was simple to use it to prevent multiple readers 
> from trying to get the lock.

Interestingly, this was a case in which a little "premature 
optimization" (using a counter to avoid a system call) would have saved 
me two weeks of headaches.