On Thu, 5 Mar 2009, Guido Ostkamp wrote:
> Would this work or is there a special reason why the original check was done
> with lock held?
http://en.wikipedia.org/wiki/Race_condition
Until you have a lock on a buffer header, you can't trust that you're even
seeing consistent information about it.
--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD