aboutsummaryrefslogtreecommitdiff
path: root/src/rt/circular_buffer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Ignore upcall_flush for channels that are disassociated from ports. This ↵Michael Bebenita2010-08-111-0/+5
| | | | makes task-comm-10 break a little less hard, but it still leaks because messages pending in the channel are never freed.
* Some pretty printing in the runtime.Michael Bebenita2010-08-091-3/+1
|
* Let circular buffers actually grow to max sz, reset _next when resizing.Michael Bebenita2010-07-281-5/+7
|
* Change unread-on-destroy condition for circular buffer to merely a warning.Michael Bebenita2010-07-281-1/+1
|
* Add comment explaining NULL case in circular_buffer::enqueue and add logging ↵Michael Bebenita2010-07-281-1/+7
| | | | to ::dequeue.
* Add peek method to circular buffer.Michael Bebenita2010-07-281-0/+5
|
* Change _unit_sz to unit_sz and make public in circular_buffer.Michael Bebenita2010-07-281-14/+15
|
* Make circular buffer use only power-of-two sizes, cheaper arithmetic.Michael Bebenita2010-07-281-2/+12
|
* Fixed circular buffer resizing bug.Michael Bebenita2010-07-191-16/+20
|
* Added a message passing system based on lock free queues for inter-thread ↵Michael Bebenita2010-07-191-0/+118
communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.