aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-10-20 01:14:40 +0000
committerDavid Robillard <d@drobilla.net>2010-10-20 01:14:40 +0000
commitfdfda8053c268bbfb53a86106bf2dca558f8e8bf (patch)
tree1edcfc5d5100fc4c2b8fe46b867e6b09607bb60c
parentf0e63536604df7da25583b47e0ab0d9e24704db3 (diff)
downloadlv2-fdfda8053c268bbfb53a86106bf2dca558f8e8bf.tar.xz
Clarify threading requirements for id_to_uri.
-rw-r--r--ext/uri-unmap.lv2/uri-unmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/uri-unmap.lv2/uri-unmap.h b/ext/uri-unmap.lv2/uri-unmap.h
index 11c9f53..d6cb900 100644
--- a/ext/uri-unmap.lv2/uri-unmap.h
+++ b/ext/uri-unmap.lv2/uri-unmap.h
@@ -66,6 +66,9 @@ typedef struct {
* the same arguments is guaranteed to return the same value over the life
* of a plugin instance (though the same ID may return different values
* with a different map parameter).
+ *
+ * This function may be called from any non-realtime thread, possibly
+ * concurrently (hosts may simply use a mutex to meet these requirements).
*/
const char* (*id_to_uri)(LV2_URI_Unmap_Callback_Data callback_data,
const char* map,