]> git.ipfire.org Git - thirdparty/bind9.git/commit
Change the isc_thread_self() return type to uintptr_t
authorOndřej Surý <ondrej@sury.org>
Tue, 16 Feb 2021 18:54:04 +0000 (19:54 +0100)
committerOndřej Surý <ondrej@isc.org>
Fri, 26 Feb 2021 20:14:17 +0000 (21:14 +0100)
commitf92b77ff0de07c150cabe48e4c8235ce15b9c596
tree73cfb2abe9acef579c3270a39618bec0a9a519b7
parent0e90858d999024560133db57c76dea7caa6354af
Change the isc_thread_self() return type to uintptr_t

The pthread_self(), thrd_current() or GetCurrentThreadId() could
actually be a pointer, so we should rather convert the value into
uintptr_t instead of unsigned long.

(cherry picked from commit a0181056a88d4a8ed8998f42225c0ea4e9bb7b99)
lib/isc/pthreads/include/isc/thread.h
lib/isc/rwlock.c
lib/isc/task.c
lib/isc/trampoline.c
lib/isc/win32/condition.c
lib/isc/win32/include/isc/condition.h
lib/isc/win32/include/isc/thread.h
lib/ns/query.c