use isc_thread_self instead of pthread_self

(cherry picked from commit 5e9d9aa9d0)
This commit is contained in:
Mark Andrews 2017-08-14 13:51:20 +10:00
parent 748efb8966
commit 3d5f0fcc5a

View file

@ -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