diff options
| author | David Robillard <d@drobilla.net> | 2016-07-31 16:25:02 -0400 | 
|---|---|---|
| committer | David Robillard <d@drobilla.net> | 2016-07-31 16:25:02 -0400 | 
| commit | 524c99fb8a4f82e8857d8faff97e4bb8e22b0657 (patch) | |
| tree | 2e43c503e412002d6e1dcfdd6ee98334e7306896 /lv2/lv2plug.in/ns/ext | |
| parent | bc5600d2957d45a6745911f0562c365beb70841e (diff) | |
| download | lv2-524c99fb8a4f82e8857d8faff97e4bb8e22b0657.tar.xz | |
Strengthen threading guarantees for work method
Diffstat (limited to 'lv2/lv2plug.in/ns/ext')
| -rw-r--r-- | lv2/lv2plug.in/ns/ext/worker/worker.h | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/lv2/lv2plug.in/ns/ext/worker/worker.h b/lv2/lv2plug.in/ns/ext/worker/worker.h index c14397d..4376a0d 100644 --- a/lv2/lv2plug.in/ns/ext/worker/worker.h +++ b/lv2/lv2plug.in/ns/ext/worker/worker.h @@ -77,8 +77,11 @@ typedef struct _LV2_Worker_Interface {  	   as requested, possibly with an arbitrary message to handle.  	   A response can be sent to run() using `respond`.  The plugin MUST NOT -	   make any assumptions about which thread calls this method, other than -	   the fact that there are no real-time requirements. +	   make any assumptions about which thread calls this method, except that +	   there are no real-time requirements and only one call may be executed at +	   a time.  That is, the host MAY call this method from any non-real-time +	   thread, but MUST NOT make concurrent calls to this method from several +	   threads.  	   @param instance The LV2 instance this is a method on.  	   @param respond  A function for sending a response to run(). |