David Gonzalez Martin 38011a233c Integrate libs
2024-03-02 12:58:12 -06:00

9 lines
121 B
C

#define _GNU_SOURCE
#include <unistd.h>
#include "pthread_impl.h"
pid_t gettid(void)
{
return __pthread_self()->tid;
}