l4_myself -- deliver the id of the current thread

1 Synopsis

#include <syscalls.h>

static inline volatile l4_threadid_t
l4_myself(void);

2 Description

The l4_myself() system call returns the id of the current thread.

3 Arguments

The system call requires no arguments.

4 Return Values

The thread id of the current thread is returned.

5 See Also

l4_thread_ex_regs , l4_fpage_unmap , l4_nchief , l4_thread_switch , l4_thread_schedule , l4_task_new
Ich