aboutsummaryrefslogtreecommitdiff
path: root/bin/synthpod_bin.h
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-24 23:10:24 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-04-24 23:10:24 +0200
commit0b42d8b35d2fcd3466cc63366707b75d70765f64 (patch)
tree664074d1384973a752455fb145982c55127d4fba /bin/synthpod_bin.h
parenta49f87a81895e12a8e34366bfd6066a2e0830cbd (diff)
downloadsynthpod-0b42d8b35d2fcd3466cc63366707b75d70765f64.tar.xz
bin: merge ui/worker threads.
* merge ui/worker threads. * remove dependency on nanomsg * route events dsp/ui via shared memory. * route events ui/lv2ui via shared memory.
Diffstat (limited to 'bin/synthpod_bin.h')
-rw-r--r--bin/synthpod_bin.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/bin/synthpod_bin.h b/bin/synthpod_bin.h
index c0d6e2e7..3ed76e96 100644
--- a/bin/synthpod_bin.h
+++ b/bin/synthpod_bin.h
@@ -44,7 +44,6 @@
#define JAN_1970 (uint64_t)0x83aa7e80
typedef enum _save_state_t save_state_t;
-typedef struct _light_sem_t light_sem_t;
typedef struct _bin_t bin_t;
enum _save_state_t {
@@ -53,12 +52,6 @@ enum _save_state_t {
SAVE_STATE_JACK
};
-struct _light_sem_t {
- uv_sem_t sem;
- _Atomic int count;
- int spin;
-};
-
struct _bin_t {
mapper_t *mapper;
mapper_pool_t mapper_pool;
@@ -81,20 +74,9 @@ struct _bin_t {
char *path;
synthpod_nsm_t *nsm;
- bool has_gui;
-
varchunk_t *app_to_ui;
varchunk_t *app_from_ui;
- uv_timer_t ui_anim;
- uv_signal_t sig_term;
- uv_signal_t sig_quit;
- uv_signal_t sig_int;
-
- _Atomic int worker_dead;
- uv_thread_t worker_thread;
- light_sem_t worker_sem;
-
LV2_URID log_error;
LV2_URID log_note;
LV2_URID log_trace;
@@ -115,10 +97,7 @@ struct _bin_t {
sandbox_master_driver_t sb_driver;
sandbox_master_t *sb;
- uv_poll_t hndl;
- uv_process_t exe;
- _Atomic bool ui_is_done;
uv_loop_t loop;
};