19#ifndef __PLUGINS_LV2_WORKER_H__
20#define __PLUGINS_LV2_WORKER_H__
22#include "lv2/worker/worker.h"
25#include "zix/thread.h"
38 const LV2_Worker_Interface *
iface;
46 const LV2_Worker_Interface * iface,
62 LV2_Worker_Schedule_Handle handle,
Plugin * plugin
Base Plugin instance (parent).
LilvInstance * instance
Plugin instance (shared library).
Lv2Worker worker
Worker thread implementation.
ZixRing * responses
Responses from the worker.
ZixThread thread
Worker thread.
void * response
Worker response buffer.
const LV2_Worker_Interface * iface
Plugin worker interface.
Lv2Plugin * plugin
Pointer back to the plugin.
ZixRing * requests
Requests to the worker.
ZixSem sem
Worker semaphore.
bool threaded
Run work in another thread.