summaryrefslogtreecommitdiffstats
path: root/src/server/NodeImpl.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-31 00:47:40 +0000
committerDavid Robillard <d@drobilla.net>2012-07-31 00:47:40 +0000
commit66ac730782803a47ae4977d2db2407126005f4bd (patch)
treedb31b21dff549897aa5cc730d028913959aa930d /src/server/NodeImpl.hpp
parent88f9a3bf23fc629385978633a8764d74788e1fdc (diff)
downloadingen-66ac730782803a47ae4977d2db2407126005f4bd.tar.gz
ingen-66ac730782803a47ae4977d2db2407126005f4bd.tar.bz2
ingen-66ac730782803a47ae4977d2db2407126005f4bd.zip
Remove rotten parallelism stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4581 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/NodeImpl.hpp')
-rw-r--r--src/server/NodeImpl.hpp33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/server/NodeImpl.hpp b/src/server/NodeImpl.hpp
index f9509e49..2b0faf03 100644
--- a/src/server/NodeImpl.hpp
+++ b/src/server/NodeImpl.hpp
@@ -22,7 +22,6 @@
#include "raul/Array.hpp"
#include "raul/AtomicInt.hpp"
-#include "raul/Semaphore.hpp"
#include "BufferRef.hpp"
#include "Context.hpp"
@@ -88,35 +87,6 @@ public:
/** Return true iff this node is activated */
bool activated() { return _activated; }
- /** Parallelism: Reset flags for start of a new cycle. */
- virtual void reset_input_ready();
-
- /** Parallelism: Claim this node (to wait on its input).
- * Only one thread will ever take this lock on a particular Node.
- * \return true if lock was aquired, false otherwise
- */
- virtual bool process_lock();
-
- /** Parallelism: Unclaim this node (let someone else wait on its input).
- * Only a thread which successfully called process_lock may call this.
- */
- virtual void process_unlock();
-
- /** Parallelism: Wait for signal that input is ready.
- * Only a thread which successfully called process_lock may call this.
- */
- virtual void wait_for_input(ProcessContext& context, size_t num_providers);
-
- /** Parallelism: Signal that input is ready. Realtime safe.
- * Calling this will wake up the thread which blocked on wait_for_input
- * if there is one, and otherwise cause it to return true the next call.
- * \return true if lock was aquired and input is ready, false otherwise
- */
- virtual void signal_input_ready(ProcessContext& context);
-
- /** Parallelism: Return the number of providers that have signalled. */
- virtual unsigned n_inputs_ready() const { return _n_inputs_ready.get(); }
-
/** Learn the next incoming MIDI event (for internals) */
virtual void learn() {}
@@ -196,9 +166,6 @@ protected:
Raul::Array<PortImpl*>* _ports; ///< Access in audio thread only
Context::ID _context; ///< Context this node runs in
uint32_t _polyphony;
- Raul::Semaphore _input_ready; ///< Parallelism: input ready signal
- Raul::AtomicInt _process_lock; ///< Parallelism: Waiting on inputs 'lock'
- Raul::AtomicInt _n_inputs_ready; ///< Parallelism: # input ready signals this cycle
std::list<NodeImpl*> _providers; ///< Nodes connected to this one's input ports
std::list<NodeImpl*> _dependants; ///< Nodes this one's output ports are connected to
bool _polyphonic;