aboutsummaryrefslogtreecommitdiff
path: root/src/rt/circular_buffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup circular_bufferBrian Anderson2011-01-101-0/+4
|
* Remove the assumption that circular_buffer's buffer has a power of two sizeBrian Anderson2011-01-101-8/+14
| | | | | | It was not obvious how to make this implementation work when the unit size was not also a power of two, so for now just make the buffer size a multiple of the unit size so it can pass all the tests.
* Don't allow circular_buffer to shrink below its original size when unit_sz ↵Brian Anderson2011-01-101-0/+3
| | | | is not a power of two
* Ignore upcall_flush for channels that are disassociated from ports. This ↵Michael Bebenita2010-08-111-0/+1
| | | | makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed.
* Add peek method to circular buffer.Michael Bebenita2010-07-281-0/+1
|
* Change _unit_sz to unit_sz and make public in circular_buffer.Michael Bebenita2010-07-281-3/+2
|
* Make circular buffer use only power-of-two sizes, cheaper arithmetic.Michael Bebenita2010-07-281-1/+3
|
* Fixed circular buffer resizing bug.Michael Bebenita2010-07-191-1/+10
|
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-0/+30
communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.