Hacker News new | past | comments | ask | show | jobs | submit login

Last commit was earlier this year for a Monterey release: https://github.com/apple-oss-distributions/xnu. The next one will almost certainly be for the first build of Ventura. Here is the header for the (private) function os_unfair_lock_lock_with_options: https://github.com/apple-oss-distributions/libplatform/blob/.... Synchronization primitives happen to be one of the things Apple is pretty good about releasing the source to.



Ahah! We were both looking in the wrong place, as we both only found the declarations, not the definition. With your pointer, I was able to find it though: https://github.com/apple-oss-distributions/libplatform/blob/...

So perhaps I am wrong. I was always under the impression that you couldn't count on Darwin to be representative of how iOS/OSX work anymore, but maybe I'm wrong.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: