summaryrefslogtreecommitdiffstats
path: root/src/server/ProcessContext.cpp
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/ProcessContext.cpp
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/ProcessContext.cpp')
-rw-r--r--src/server/ProcessContext.cpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/server/ProcessContext.cpp b/src/server/ProcessContext.cpp
deleted file mode 100644
index 66dbcb19..00000000
--- a/src/server/ProcessContext.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- This file is part of Ingen.
- Copyright 2007-2012 David Robillard <http://drobilla.net/>
-
- Ingen is free software: you can redistribute it and/or modify it under the
- terms of the GNU Affero General Public License as published by the Free
- Software Foundation, either version 3 of the License, or any later version.
-
- Ingen is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- A PARTICULAR PURPOSE. See the GNU Affero General Public License for details.
-
- You should have received a copy of the GNU Affero General Public License
- along with Ingen. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "Engine.hpp"
-#include "ProcessContext.hpp"
-#include "ProcessSlave.hpp"
-
-namespace Ingen {
-namespace Server {
-
-ProcessContext::ProcessContext(Engine& engine)
- : Context(engine, engine.event_queue_size(), AUDIO)
-{}
-
-void
-ProcessContext::activate(uint32_t parallelism, bool sched_rt)
-{
- for (uint32_t i = 0; i < _slaves.size(); ++i) {
- delete _slaves[i];
- }
- _slaves.clear();
- _slaves.reserve(parallelism);
- for (uint32_t i = 0; i < parallelism - 1; ++i) {
- _slaves.push_back(new ProcessSlave(_engine, sched_rt));
- }
-}
-
-} // namespace Server
-} // namespace Ingen