summaryrefslogtreecommitdiffstats
path: root/misc/dispatch.h
Commit message (Collapse)AuthorAgeFilesLines
* client API: implement mpv_suspend/resume slightly differentlywm42016-09-041-2/+0
| | | | | | | | 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.
* dispatch: move into its own source filewm42014-04-231-0/+23
This was part of osdep/threads.c out of laziness. But it doesn't contain anything OS dependent. Note that the rest of threads.c actually isn't all that OS dependent either (just some minor ifdeffery to work around the lack of clock_gettime() on OSX).