From 00d1465d13980fc3acf650f182ee0723fbda0e06 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 19 Jul 2010 14:05:18 -0700 Subject: 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. --- src/rt/sync/spin_lock.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/rt/sync/spin_lock.cpp') diff --git a/src/rt/sync/spin_lock.cpp b/src/rt/sync/spin_lock.cpp index 11a5cb20..4a113d1a 100644 --- a/src/rt/sync/spin_lock.cpp +++ b/src/rt/sync/spin_lock.cpp @@ -1,9 +1,10 @@ +#include "../globals.h" +#include "spin_lock.h" + /* * Your average spin lock. */ -#include "globals.h" - // #define TRACE spin_lock::spin_lock() { -- cgit v1.2.3