summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Maid.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-01-22 04:07:53 +0000
committerDavid Robillard <d@drobilla.net>2007-01-22 04:07:53 +0000
commit6fc1fa0d3bec4b82cb3af4c4e887241087899e7e (patch)
tree642326c791c1cac6390b8cc10f6b5fac52e0f36e /src/libs/engine/Maid.h
parent6a03dfaf79aa0713df17b03880aaedb3fa8984eb (diff)
downloadingen-6fc1fa0d3bec4b82cb3af4c4e887241087899e7e.tar.gz
ingen-6fc1fa0d3bec4b82cb3af4c4e887241087899e7e.tar.bz2
ingen-6fc1fa0d3bec4b82cb3af4c4e887241087899e7e.zip
Added atomic int/pointer classes to Raul.
Added multi-writer queue to Raul. Renamed Queue SRSWQueue (single-reader single-writer). Updated patchage/ingen for Raul changes. git-svn-id: http://svn.drobilla.net/lad/ingen@264 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/Maid.h')
-rw-r--r--src/libs/engine/Maid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/Maid.h b/src/libs/engine/Maid.h
index 665ffa05..d8dbfc7e 100644
--- a/src/libs/engine/Maid.h
+++ b/src/libs/engine/Maid.h
@@ -18,7 +18,7 @@
#define MAID_H
#include <boost/utility.hpp>
-#include "raul/Queue.h"
+#include "raul/SRSWQueue.h"
#include "MaidObject.h"
@@ -28,7 +28,7 @@
* objects - push() is realtime safe.
*
* cleanup() is meant to be called periodically to free memory, often
- * enough to prevent the queue from overdflowing. This is done by the
+ * enough to prevent the queue from overflowing. This is done by the
* main thread (in Ingen.cpp) since it has nothing better to do.
*
* \ingroup engine
@@ -44,7 +44,7 @@ public:
void cleanup();
private:
- Queue<MaidObject*> m_objects;
+ SRSWQueue<MaidObject*> _objects;
};
@@ -54,7 +54,7 @@ inline void
Maid::push(MaidObject* obj)
{
if (obj != NULL)
- m_objects.push(obj);
+ _objects.push(obj);
}