aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-11-17 23:11:42 +0000
committerDavid Robillard <d@drobilla.net>2012-11-17 23:11:42 +0000
commite5941f303a13dd1ec5659ad447d99fa522589cb8 (patch)
tree3a1aca905388f6051c9cc60db6927bb9ae137620 /src/jalv_internal.h
parent797a9a172729e43c467ea6b2c84eb9d39035170e (diff)
downloadjalv-e5941f303a13dd1ec5659ad447d99fa522589cb8.tar.gz
jalv-e5941f303a13dd1ec5659ad447d99fa522589cb8.tar.bz2
jalv-e5941f303a13dd1ec5659ad447d99fa522589cb8.zip
Make URI map thread-safe, fixing occasional crashes for plugins with UIs.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4828 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 3c66f68..76de642 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -153,7 +153,8 @@ typedef struct {
LV2_URID_Map map; ///< URI => Int map
LV2_URID_Unmap unmap; ///< Int => URI map
Sratom* sratom; ///< Atom serialiser
- Symap* symap; ///< Symbol (URI) map
+ Symap* symap; ///< URI map
+ ZixSem symap_lock; ///< Lock for URI map
jack_client_t* jack_client; ///< Jack client
jack_ringbuffer_t* ui_events; ///< Port events from UI
jack_ringbuffer_t* plugin_events; ///< Port events from plugin