[Bug 1673] Chain append and prepend with empty check

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Aug 16 14:11:52 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1673

Peer Stritzinger <peerst at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peerst at gmail.com

--- Comment #2 from Peer Stritzinger <peerst at gmail.com> 2010-08-16 09:11:51 CDT ---
I second this change.

Additionaly I think API calls along the line:

rtems_chain_get_with_empty_check() ...

would also be usefull.  These would return a bool that is true if the chain
just transitioned from non-empty to empty.

With this simple consumer/producer queues can be realized that request by e.g.
sending a event when the queue got just empty.

-- 
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