summaryrefslogtreecommitdiffstats
path: root/misc/dispatch.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-09-04 15:43:12 +0200
committerwm4 <wm4@nowhere>2016-09-04 18:05:36 +0200
commit2619d8eff4e2c1cf54574acfbd0cd5895e362e45 (patch)
treed7ae05f444c26314464b72e890874ba08394ee44 /misc/dispatch.h
parentd889d1fbaa28abec6b71d2ee0d9b9f8e62c09c04 (diff)
downloadmpv-2619d8eff4e2c1cf54574acfbd0cd5895e362e45.tar.bz2
mpv-2619d8eff4e2c1cf54574acfbd0cd5895e362e45.tar.xz
client API: implement mpv_suspend/resume slightly differently
Why do these API calls even still exist? I don't know, and maybe they don't make any sense anymore. But whether they should be removed or not is not a decision I want to make now. I want to get rid of mp_dispatch_suspend/resume(), though. So implement the client APIs slightly differently.
Diffstat (limited to 'misc/dispatch.h')
-rw-r--r--misc/dispatch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/dispatch.h b/misc/dispatch.h
index 96a5d7cf4b..7a0d037cab 100644
--- a/misc/dispatch.h
+++ b/misc/dispatch.h
@@ -15,8 +15,6 @@ void mp_dispatch_enqueue_autofree(struct mp_dispatch_queue *queue,
void mp_dispatch_run(struct mp_dispatch_queue *queue,
mp_dispatch_fn fn, void *fn_data);
void mp_dispatch_queue_process(struct mp_dispatch_queue *queue, double timeout);
-void mp_dispatch_suspend(struct mp_dispatch_queue *queue);
-void mp_dispatch_resume(struct mp_dispatch_queue *queue);
void mp_dispatch_lock(struct mp_dispatch_queue *queue);
void mp_dispatch_unlock(struct mp_dispatch_queue *queue);