Re: SRC Contributions: Advice and Objections

From: Eugene Grosbein <eugen_at_grosbein.net>
Date: Mon, 29 Aug 2022 20:34:42 UTC
30.08.2022 3:17, Jake Freeland wrote:

> * Adding the gettid() funtion:
> https://man7.org/linux/man-pages/man2/gettid.2.html
> This function grabs the thread identifier for the currently running process.
> I am not yet informed about FreeBSD's thread scheduling so I don't know
> if adding this function is even necessary.

Take a look at pthread_getthreadid_np(3)