diff options
| author | Mikhail Romanko <me@blankhex.com> | 2024-06-03 22:11:05 +0300 |
|---|---|---|
| committer | Mikhail Romanko <me@blankhex.com> | 2024-06-03 22:11:05 +0300 |
| commit | 79874622a28c081abe155dc01860ddba746abd3b (patch) | |
| tree | 9dea56ea33951b7c851b534eb6f9d1ff1e1dcfe8 /include/bh/internal/thread.h | |
| parent | fdbabab0e04fac2b5a84ea8e8088cd4767034a45 (diff) | |
| download | bhlib-old-79874622a28c081abe155dc01860ddba746abd3b.tar.gz | |
Add documentation, expand error handling, implement file and buffer io
Diffstat (limited to 'include/bh/internal/thread.h')
| -rw-r--r-- | include/bh/internal/thread.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/bh/internal/thread.h b/include/bh/internal/thread.h index fe2a9c8..34e2f76 100644 --- a/include/bh/internal/thread.h +++ b/include/bh/internal/thread.h @@ -1,14 +1,14 @@ -#ifndef BHLIB_INTERNAL_THREAD_H -#define BHLIB_INTERNAL_THREAD_H +#ifndef BH_INTERNAL_THREAD_H +#define BH_INTERNAL_THREAD_H #include <bh/thread.h> #include "queue.h" -#define BH_THREAD_DONE (1 << 8) +#define BH_THREAD_DONE 0x0100 -#if defined(BHLIB_USE_PTHREAD) +#if defined(BH_USE_PTHREAD) #include "thread_posix.h" -#elif defined(BHLIB_USE_WINTHREAD) +#elif defined(BH_USE_WINTHREAD) #include "thread_win.h" #else #include "thread_null.h" @@ -42,4 +42,4 @@ void bh_task_destroy(bh_task_t *task); void bh_thread_pool_worker(void *arg); -#endif /* BHLIB_INTERNAL_THREAD_H */ +#endif /* BH_INTERNAL_THREAD_H */ |
