[Bug 1585] pipe->Semaphore not deleted by pipe_release when file open flags are O_WRONLY | O_NONBLOCK
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Fri Jun 25 01:37:36 UTC 2010
https://www.rtems.org/bugzilla/show_bug.cgi?id=1585
--- Comment #3 from Chris Johns <chrisj at rtems.org> 2010-06-24 20:37:32 CDT ---
> Committed to 4.10 and head.
I still have an unanswered question. There is code that I do not understand. It
is:
if (pipe->Writers ++ == 0)
PIPE_WAKEUPREADERS(pipe);
I cannot see how any readers can be on the pipe when the barrier was just
created in the open a few lines about. The patch fixes a problem, no problem
there, how-ever I am interesting why other code is even present.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list