diff options
author | David Robillard <d@drobilla.net> | 2016-07-31 15:24:34 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-31 15:24:34 -0400 |
commit | f4ee02db64ee39f1653cbc5373abaa748707e580 (patch) | |
tree | 1d036b3f382f2266700c16d484c96f876e12c7f0 /src/worker.h | |
parent | 005f9bf2051725a197c3b79e769214f78bb23b16 (diff) | |
download | jalv-f4ee02db64ee39f1653cbc5373abaa748707e580.tar.gz jalv-f4ee02db64ee39f1653cbc5373abaa748707e580.tar.bz2 jalv-f4ee02db64ee39f1653cbc5373abaa748707e580.zip |
Support thread-safe state restoration
Diffstat (limited to 'src/worker.h')
-rw-r--r-- | src/worker.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/worker.h b/src/worker.h index ff4029a..93f39e0 100644 --- a/src/worker.h +++ b/src/worker.h @@ -1,5 +1,5 @@ /* - Copyright 2007-2013 David Robillard <http://drobilla.net> + Copyright 2007-2016 David Robillard <http://drobilla.net> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -21,7 +21,8 @@ void jalv_worker_init(Jalv* jalv, JalvWorker* worker, - const LV2_Worker_Interface* iface); + const LV2_Worker_Interface* iface, + bool threaded); void jalv_worker_finish(JalvWorker* worker); @@ -32,4 +33,4 @@ jalv_worker_schedule(LV2_Worker_Schedule_Handle handle, const void* data); void -jalv_worker_emit_responses(Jalv* jalv, JalvWorker* worker); +jalv_worker_emit_responses(JalvWorker* worker, LilvInstance* instance); |