summaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-11-05 16:14:32 +0100
committerGravatar Nikias Bassen2017-11-05 16:14:32 +0100
commitf9b529b75982902c9b31ee59fe73e2c56b8ba237 (patch)
tree3c2a442801161040ac0aad25a67abfad6cc764ee /src/thread.h
parent22743f7d85380ec68af2b7c94fab110d4b611969 (diff)
downloadidevicerestore-f9b529b75982902c9b31ee59fe73e2c56b8ba237.tar.gz
idevicerestore-f9b529b75982902c9b31ee59fe73e2c56b8ba237.tar.bz2
thread: Add 'thread_alive' helper
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index bd53c5b..11e789a 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -46,6 +46,7 @@ typedef void* (*thread_func_t)(void* data);
int thread_new(thread_t* thread, thread_func_t thread_func, void* data);
void thread_free(thread_t thread);
void thread_join(thread_t thread);
+int thread_alive(thread_t thread);
void mutex_init(mutex_t* mutex);
void mutex_destroy(mutex_t* mutex);