Also applicable to the general discussion above -- just noticed that
decRef is not synchronized and closed is a regular variable so
doClose() can be called from both close and decRef under a race
condition. I know ref counting is an "expert feature", but I think it
could better agree with close(), where calling close means the
definitive end of the reader's life cycle.

Dawid

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to