Added a message passing system based on lock free queues for inter-thread communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.

This commit is contained in:
Michael Bebenita
2010-07-19 14:05:18 -07:00
parent 1f0656d908
commit 00d1465d13
35 changed files with 1498 additions and 838 deletions

View File

@@ -5,7 +5,7 @@
template <typename T>
rc_base<T>::rc_base() :
refcnt(1)
ref_count(1)
{
}
@@ -85,7 +85,7 @@ ptr_vec<T>::trim(size_t sz)
template <typename T>
void
ptr_vec<T>::swapdel(T *item)
ptr_vec<T>::swap_delete(T *item)
{
/* Swap the endpoint into i and decr fill. */
I(dom, data);