Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2022 03:34:42 +0700
From:      Eugene Grosbein <eugen@grosbein.net>
To:        Jake Freeland <jake@technologyfriends.net>, freebsd-hackers@freebsd.org
Subject:   Re: SRC Contributions: Advice and Objections
Message-ID:  <ac92265c-8290-0293-7ea8-9dea936f5c8b@grosbein.net>
In-Reply-To: <CAOgZAGaiBbuXhBwF=fyTUH%2Bb38fAQVeW%2B0Zivh5fDFD2JXJdjA@mail.gmail.com>
References:  <CAOgZAGaiBbuXhBwF=fyTUH%2Bb38fAQVeW%2B0Zivh5fDFD2JXJdjA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac92265c-8290-0293-7ea8-9dea936f5c8b>