diff options
author | Max Kellermann <max@duempel.org> | 2011-08-29 09:51:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-29 09:52:03 +0200 |
commit | 4a75acb46c31c6bef7522133e7fcd4b11640e509 (patch) | |
tree | b9bee3c9ff464884670f9138866684f42ef0b904 /src/io_thread.h | |
parent | 453368078be8e79955a66ea9ca63efd6c3095850 (diff) | |
download | mpd-4a75acb46c31c6bef7522133e7fcd4b11640e509.tar.gz mpd-4a75acb46c31c6bef7522133e7fcd4b11640e509.tar.xz mpd-4a75acb46c31c6bef7522133e7fcd4b11640e509.zip |
io_thread: add function io_thread_run()
Diffstat (limited to 'src/io_thread.h')
-rw-r--r-- | src/io_thread.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/io_thread.h b/src/io_thread.h index 2daddba86..5687aebb9 100644 --- a/src/io_thread.h +++ b/src/io_thread.h @@ -29,6 +29,14 @@ io_thread_init(void); bool io_thread_start(GError **error_r); +/** + * Run the I/O event loop synchronously in the current thread. This + * can be called instead of io_thread_start(). For testing purposes + * only. + */ +void +io_thread_run(void); + void io_thread_deinit(void); |