use isc_thread_self instead of pthread_self
(cherry picked from commit 5e9d9aa9d0)
This commit is contained in:
@@ -192,7 +192,7 @@ mem_realloc(void *ptr, size_t size FLARG) {
|
||||
static void
|
||||
_set_thread_id(CRYPTO_THREADID *id)
|
||||
{
|
||||
CRYPTO_THREADID_set_numeric(id, (unsigned long)pthread_self());
|
||||
CRYPTO_THREADID_set_numeric(id, (unsigned long)isc_thread_self());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user