-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS build libks error #204
Comments
suzp1984
added a commit
to suzp1984/libks
that referenced
this issue
Mar 17, 2024
Both the v1 & v2 release has same problem in mac os. |
suzp1984
added a commit
to suzp1984/libks
that referenced
this issue
May 28, 2024
suzp1984
added a commit
to suzp1984/libks
that referenced
this issue
May 28, 2024
6 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is another duplicated issue of signalwire/homebrew-signalwire#21
Root Cause
The POSIX
pthread_self
returns thepthread_t
, which is a struct, not aunsigned long int
alias. Andgettid()
, which return the current thread id, is not available in mac os.Solution
https://elliotth.blogspot.com/2012/04/gettid-on-mac-os.html
or
But
syscall
is deprecated in macOS 10.12, there will be a warning. I suggest usepthread_threadid_np
.The text was updated successfully, but these errors were encountered: