From fdfda8053c268bbfb53a86106bf2dca558f8e8bf Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Wed, 20 Oct 2010 01:14:40 +0000
Subject: Clarify threading requirements for id_to_uri.

---
 ext/uri-unmap.lv2/uri-unmap.h | 3 +++
 1 file changed, 3 insertions(+)

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,
-- 
cgit v1.2.1