diff options
author | Max Kellermann <max@duempel.org> | 2011-08-29 09:44:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-29 10:25:04 +0200 |
commit | 4733c5fef00abacfbca414d96114bd7a5427ca12 (patch) | |
tree | 95fc235821277a3cbca8c84a544e680d4d115114 /src/io_thread.h | |
parent | a97ddc8cb955eb518f1864ccc2ee86b08010a347 (diff) | |
download | mpd-4733c5fef00abacfbca414d96114bd7a5427ca12.tar.gz mpd-4733c5fef00abacfbca414d96114bd7a5427ca12.tar.xz mpd-4733c5fef00abacfbca414d96114bd7a5427ca12.zip |
io_thread: add function io_thread_quit()
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 5687aebb9..db925ab8f 100644 --- a/src/io_thread.h +++ b/src/io_thread.h @@ -37,6 +37,14 @@ io_thread_start(GError **error_r); void io_thread_run(void); +/** + * Ask the I/O thread to quit, but does not wait for it. Usually, you + * don't need to call this function, because io_thread_deinit() + * includes this. + */ +void +io_thread_quit(void); + void io_thread_deinit(void); |