OS abstractions of `syscall` deprecated on macOS
Closed this issue · 2 comments
nxrighthere commented
Just noticed that abstracted syscall()
functionality is deprecated on macOS. Suggested alternative to get a thread ID is pthread_threadid_np()
.
WonderfulVoid commented
pthread_threadid_np() is used on macOS, this was changed in commit 3ebdd91
nxrighthere commented
Oh, sorry, haven't noticed that... Just forgot to update my fork before opening the issue. 🤕