mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-32537 Name threads to improve debugging experience and diagnostics.
Use SetThreadDescription/pthread_setname_np to give threads a name.
This commit is contained in:
@@ -75,6 +75,7 @@ pthread_handler_t handle_manager(void *arg __attribute__((unused)))
|
||||
struct timespec abstime;
|
||||
bool reset_flush_time = TRUE;
|
||||
my_thread_init();
|
||||
my_thread_set_name("handle_manager");
|
||||
DBUG_ENTER("handle_manager");
|
||||
|
||||
pthread_detach_this_thread();
|
||||
|
Reference in New Issue
Block a user