mpv/waftools/fragments/bsd_thread_name.c

7 lines
145 B
C

#include <pthread.h>
#include <pthread_np.h>
int main(int argc, char **argv) {
pthread_set_name_np(pthread_self(), "ducks");
return 0;
}