Commit 4f524251 authored by Samuel Thibault's avatar Samuel Thibault Committed by Marge Bot

util: Do not fail to build on unknown pthread_setname_np

This is only used for debugging, so better making porting on various systems
less hard.
Reviewed-by: Matt Turner's avatarMatt Turner <>
Reviewed-by: default avatarMarek Olšák <>
Signed-off-by: Samuel Thibault's avatarSamuel Thibault <>
Tested-by: Marge Bot <!3229>
Part-of: <!3229>
parent e45dc931
Pipeline #100191 passed with stages
in 17 minutes and 40 seconds
......@@ -84,7 +84,7 @@ static inline void u_thread_setname( const char *name )
rename_thread(find_thread(NULL), name);
#error Not sure how to call pthread_setname_np
#warning Not sure how to call pthread_setname_np
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment