diff options
author | waker <wakeroid@gmail.com> | 2010-10-24 09:37:43 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-10-24 09:37:43 +0200 |
commit | c3f898dd52bc4eda6ae76b7e618fce86f35fad79 (patch) | |
tree | f13b4f4d5a9448453b5ed6ccc4fa0b02bb7e5d4b /threading.h | |
parent | 36d81fe36ea5b505ebe2536809728497f960b815 (diff) |
added thread_detach and thread_exit APIs
Diffstat (limited to 'threading.h')
-rw-r--r-- | threading.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/threading.h b/threading.h index dee1cc3c..6ceca641 100644 --- a/threading.h +++ b/threading.h @@ -29,6 +29,12 @@ thread_start_low_priority (void (*fn)(void *ctx), void *ctx); int thread_join (intptr_t tid); +int +thread_detach (intptr_t tid); + +void +thread_exit (void *retval); + uintptr_t mutex_create (void); |