NAME
mthr_self - return the thread handle of the calling thread

SYNOPSIS
#include <mthread.h>

mthread_p mthr_self(void);

DESCRIPTION
mthr_self() returns the thread handle of the calling thread.

SEE ALSO
mthreads(3), mthr_create(3), mthr_suspend(3), mthr_resume(3), mthr_join(3)