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 |
||
---|---|---|
.. | ||
boost-debug | ||
macosx | ||
pbd | ||
test | ||
.cvsignore | ||
base_ui.cc | ||
basename.cc | ||
boost_debug.cc | ||
cartesian.cc | ||
ChangeLog | ||
clear_dir.cc | ||
cocoa_open_uri.mm | ||
command.cc | ||
controllable_descriptor.cc | ||
controllable.cc | ||
convert.cc | ||
COPYING | ||
cpus.cc | ||
crossthread.cc | ||
debug_rt_alloc.c | ||
debug.cc | ||
dmalloc.cc | ||
enums.cc | ||
enumwriter.cc | ||
epa.cc | ||
error.cc | ||
event_loop.cc | ||
file_manager.cc | ||
file_utils.cc | ||
filesystem_paths.cc | ||
filesystem.cc | ||
fpu.cc | ||
gettext.h | ||
i18n.h | ||
id.cc | ||
libpbd.pc.in | ||
libpbd.spec.in | ||
locale_guard.cc | ||
malign.cc | ||
mountpoint.cc | ||
openuri.cc | ||
pathscanner.cc | ||
pool.cc | ||
property_list.cc | ||
pthread_utils.cc | ||
receiver.cc | ||
run-tests.sh | ||
search_path.cc | ||
semutils.cc | ||
shortpath.cc | ||
signals.cc | ||
sndfile_manager.cc | ||
stacktrace.cc | ||
stateful_diff_command.cc | ||
stateful.cc | ||
strreplace.cc | ||
strsplit.cc | ||
textreceiver.cc | ||
transmitter.cc | ||
undo.cc | ||
uuid_boost.cc | ||
uuid.cc | ||
whitespace.cc | ||
wscript | ||
xml++.cc |