venus: Use SYS_thr_self on FreeBSD instead of SYS_gettid
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36953>
This commit is contained in:
Thibault Payet 2025-08-23 10:04:39 +02:00 committed by Marge Bot
parent 2595b029fa
commit 1de30797ae

View file

@ -614,6 +614,8 @@ vn_gettid(void)
{
#if DETECT_OS_ANDROID
return gettid();
#elif defined(__FreeBSD__)
return syscall(SYS_thr_self);
#else
return syscall(SYS_gettid);
#endif