diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-08 12:02:17 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-09-08 12:04:09 +0300 |
commit | 35cfb56e7d4d7a950cb8e7b68c68b9cb81064e90 (patch) | |
tree | 4347b2adbb2ed2dd04945fb38b4da568c77e6218 /src/microhttpd/mhd_threads.h | |
parent | a9bc3198c8571bd0ceb074ceb8c94b283a6c6696 (diff) | |
download | libmicrohttpd-35cfb56e7d4d7a950cb8e7b68c68b9cb81064e90.tar.gz libmicrohttpd-35cfb56e7d4d7a950cb8e7b68c68b9cb81064e90.zip |
mhd_threads: added new macro MHD_join_thread_tid_()
Diffstat (limited to 'src/microhttpd/mhd_threads.h')
-rw-r--r-- | src/microhttpd/mhd_threads.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_threads.h b/src/microhttpd/mhd_threads.h index 925ac95d..6e1dce32 100644 --- a/src/microhttpd/mhd_threads.h +++ b/src/microhttpd/mhd_threads.h | |||
@@ -155,6 +155,9 @@ typedef struct _MHD_thread_handle_ID_ MHD_thread_handle_ID_; | |||
155 | (CloseHandle ( (thread)), ! 0) : 0 ) | 155 | (CloseHandle ( (thread)), ! 0) : 0 ) |
156 | #endif | 156 | #endif |
157 | 157 | ||
158 | #define MHD_join_thread_tid_(thread_handle_ID_ptr) \ | ||
159 | (MHD_join_thread_((thread_handle_ID_ptr)->handle)) | ||
160 | |||
158 | #if defined(MHD_USE_POSIX_THREADS) | 161 | #if defined(MHD_USE_POSIX_THREADS) |
159 | /** | 162 | /** |
160 | * Check whether provided thread ID matches current thread. | 163 | * Check whether provided thread ID matches current thread. |