David Robillard
338e83d9dc
This is done by way of a generic Worker object/thread, which currently just applies to one LV2 plugin, but the idea is to share one thread and set of buffers among many plugins. The same pattern may also be useful elsewhere in Ardour. The responding part gets a bit tricker when sharing a worker between plugins, it's not a blocker, and I'm lazy, sooo here's this. This commit also adds a new portable in-process semaphore to PBD. The existing one is pretty weird and uses a named semaphore on OSX for reasons unknown to me. Perhaps as a quick fix to avoid POSIX semaphores being utterly broken on OSX? It would probably be a good idea to replace that with this new one, which uses Mach kernel semaphores on OSX which work well, though I am not sure how pedantically real-time safe they are to signal. git-svn-id: svn://localhost/ardour2/branches/3.0@11790 d708f5d6-7413-0410-9779-e7cbd77b26cf |
||
---|---|---|
.. | ||
.cvsignore | ||
.DS_Store | ||
abstract_ui.cc | ||
abstract_ui.h | ||
base_ui.h | ||
basename.h | ||
boost_debug.h | ||
cartesian.h | ||
clear_dir.h | ||
command.h | ||
compose.h | ||
controllable_descriptor.h | ||
controllable.h | ||
convert.h | ||
cpus.h | ||
crossthread.h | ||
debug_rt_alloc.h | ||
debug.h | ||
demangle.h | ||
destructible.h | ||
enumwriter.h | ||
epa.h | ||
error.h | ||
event_loop.h | ||
failed_constructor.h | ||
fastlog.h | ||
file_manager.h | ||
file_utils.h | ||
filesystem_paths.h | ||
filesystem.h | ||
forkexec.h | ||
fpu.h | ||
functor_command.h | ||
id.h | ||
locale_guard.h | ||
malign.h | ||
mathfix.h | ||
memento_command.h | ||
mountpoint.h | ||
openuri.h | ||
pathscanner.h | ||
pool.h | ||
properties.h | ||
property_basics_impl.h | ||
property_basics.h | ||
property_list_impl.h | ||
property_list.h | ||
pthread_utils.h | ||
rcu.h | ||
receiver.h | ||
replace_all.h | ||
ringbuffer.h | ||
ringbufferNPT.h | ||
search_path.h | ||
selectable.h | ||
semaphore.h | ||
semutils.h | ||
sequence_property.h | ||
shortpath.h | ||
signals.h | ||
sndfile_manager.h | ||
stacktrace.h | ||
stateful_diff_command.h | ||
stateful.h | ||
statefuldestructible.h | ||
stl_delete.h | ||
stl_functors.h | ||
strsplit.h | ||
textreceiver.h | ||
thrown_error.h | ||
tokenizer.h | ||
touchable.h | ||
transmitter.h | ||
undo.h | ||
unknown_type.h | ||
unwind.h | ||
uuid_boost.h | ||
uuid.h | ||
whitespace.h | ||
xml++.h |