ardour/tools
Paul Davis 5d023b4c60 libpbd: fix an important thinko for cross-thread signal architecture
The old code assumed that the thread that created a request buffer for a given
signal-emitting thread would be the latter thread, and thus a thread-local
pointer to the request buffer could be used. This turns out not to be true: the
GUI thread tends to be responsible for constructing the request buffers for
pre-registered threads.

That mechanism has been replaced by using a RWLock protected map using
pthread_t as the key and the request buffer as the value. This allows any
thread to create and register the request buffers used between any other pair
of threads (because the lookup always uses a pthread_t).

The symptoms of this problem were a signal emitted in an audioengine thread
that was propagated to the target thread, but when the target thread scans its
request buffers for requests, it finds nothing (because it didn't know about
the request buffer). In a sense, the signal was successfully delivered to the
target thread, but no meaningful work (i.e the signal handler) is performed.
2023-04-21 12:16:37 -06:00
..
ARDOUR
bb
CrashReporter
doxy2json
fluid-patches
gccabicheck
icons
linux_packaging Fix building linux-demo bundle 2023-03-25 20:24:31 +01:00
misc_resources Add Ardour logo sources (thanks to thorwil) 2022-10-14 02:21:09 +02:00
omf
osx_packaging Update bundle/package scripts 2023-03-24 19:07:30 +01:00
patches
sanity_check
signal-test libpbd: fix an important thinko for cross-thread signal architecture 2023-04-21 12:16:37 -06:00
smf-load Update SMF profile tool to show number of temmp changes 2022-09-25 03:30:15 +02:00
udev
videotimeline
vst3-patches
x-win Update bundle/package scripts 2023-03-24 19:07:30 +01:00
as-metainfo.its
autowaf.py configure: clarify that --optimize just is the opposite of --debug 2022-08-19 10:57:17 -06:00
avahi.sh Add zeroconf/mdns support 2022-12-02 17:32:11 +01:00
clang-format
cstyle.py
ctagsparse.py
define_versions.sh Update bundle/package scripts 2023-03-24 19:07:30 +01:00
f2s
fmt-bindings remove clip editor bindings (for now), since we do not show the clip editor 2022-09-21 08:51:36 -06:00
fmt-luadoc.php Update Lua documentation script to use std:: instead of boost 2023-03-25 00:07:56 +01:00
jacktest.c
list_scripts.lua
misc.py
msvc32-fixup.pl Clean up top-level source folder 2022-09-08 17:02:59 +02:00
nofuzz.sh
objc.supp
peakdump.c
pre-commit
process-metadata configuration_metadata.cc should be manually generated whenever metadata changes, so just commit current version 2023-01-28 08:27:56 -07:00
readtest.c
resample_session.pl
run-readtest.sh
run-threadreadtest.sh
run-writetest.sh
session_exchange.py
sfrtest.cc
sftest.cc
split_benchmark.lua
synthesize_sources.pl
thread_readtest.cc
update_fluidsynth.sh
update_luadoc.sh
update_lv2stack.sh
update_qm-dsp.sh Address some Wmissing-prototypes in qm-dsp 2022-11-26 16:23:52 +01:00
update_qm-vamp.sh
update_vst3.sh
valgrind.supp