![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
Macros | |
| #define | _GNU_SOURCE | 
| #define | SETNAME_MAX_LENGTH 16 | 
| Maximum name length used for my_thread_self_setname(), including the terminating NUL character.  More... | |
Functions | |
| int | my_thread_create (my_thread_handle *thread, const my_thread_attr_t *attr, my_start_routine func, void *arg) | 
| int | my_thread_join (my_thread_handle *thread, void **value_ptr) | 
| int | my_thread_cancel (my_thread_handle *thread) | 
| void | my_thread_exit (void *value_ptr) | 
| void | my_thread_self_setname (const char *name) | 
| Sets the name of the thread for system and debugger, if possible.  More... | |
| #define _GNU_SOURCE | 
| #define SETNAME_MAX_LENGTH 16 | 
Maximum name length used for my_thread_self_setname(), including the terminating NUL character.
Linux pthread_setname_np(3) is restricted to 15+1 chars, so we use the same limit on all platforms.
| int my_thread_cancel | ( | my_thread_handle * | thread | ) | 
| int my_thread_create | ( | my_thread_handle * | thread, | 
| const my_thread_attr_t * | attr, | ||
| my_start_routine | func, | ||
| void * | arg | ||
| ) | 
| void my_thread_exit | ( | void * | value_ptr | ) | 
| int my_thread_join | ( | my_thread_handle * | thread, | 
| void ** | value_ptr | ||
| ) | 
| void my_thread_self_setname | ( | const char * | name | ) | 
Sets the name of the thread for system and debugger, if possible.
| name | Name to set, must be shorter than SETNAME_MAX_LENGTH, including NULL character. |