mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
sched/task: Implement gettid(2) syscall
See the reference here: https://man7.org/linux/man-pages/man2/gettid.2.html Change-Id: Ia814d0ccc3b20d8dfc36c809682ddf6e21811d20 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
@@ -308,6 +308,7 @@ EXTERN int optopt; /* Unrecognized option character */
|
||||
|
||||
pid_t vfork(void);
|
||||
pid_t getpid(void);
|
||||
pid_t gettid(void);
|
||||
void _exit(int status) noreturn_function;
|
||||
unsigned int sleep(unsigned int seconds);
|
||||
int usleep(useconds_t usec);
|
||||
|
||||
Reference in New Issue
Block a user