- Fix compile warnings for thread setname routine, and test compile.

This commit is contained in:
W.C.A. Wijngaards
2026-04-20 12:24:28 +02:00
parent 52fc5ee374
commit 86a8be75f0
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -6849,6 +6849,7 @@ static void* fast_reload_thread_main(void* arg)
log_thread_set(&fast_reload_thread->threadnum);
ub_thread_setname(fast_reload_thread->tid, name);
(void)name; /* When setname is not defined, ignore the name variable. */
verbose(VERB_ALGO, "start fast reload thread");
if(fast_reload_thread->fr_verb >= 1) {
+3
View File
@@ -1,3 +1,6 @@
20 April 2026: Wouter
- Fix compile warnings for thread setname routine, and test compile.
17 April 2026: Wouter
- Fix setup of ssl context copy of the tls service pem option,
from a clang analyzer warning.
+1
View File
@@ -360,6 +360,7 @@ typedef pthread_key_t ub_thread_key_type;
#define ub_thread_key_create(key, f) LOCKRET(pthread_key_create(key, f))
#define ub_thread_key_set(key, v) LOCKRET(pthread_setspecific(key, v))
#define ub_thread_key_get(key) pthread_getspecific(key)
#define ub_thread_setname(thread, name) /* nop */
#endif /* USE_THREAD_DEBUG */
#endif /* TESTCODE_CHECK_LOCKS_H */