opensource-apple/objc4
View on GitHub ↗ ★ 1,194 Objective-C++
5 mentions on Hacker News by 5 people: 0 stories, 5 comments · first 2015-05-05 · latest 2024-08-23
20082026
-
…the objc-runtime is open source, you can probably find it there. I think it might be this method? https://github.com/opensource-apple/objc4/blob/cd5e62a5597ea... -- But I'm not sure what GP meant by "at compilation". I suppose the compiler…
comment by krackers · 2024-08-23 · in Objective-C is just, like, a leaky abstraction over C -
…tps://opensource.apple.com/source/syslog/syslog-349.1.1/li... The objective C runtime is open source: https://github.com/opensource-apple/objc4/blob/master/APPLE_... icu, pthread, zlib, and libxml did not even originate at Apple.
comment by microtherion · 2021-04-22 · in Exploiting vulnerabilities in Cellebrite UFED and Physical Analyzer -
…(thread_state_t)&state, &count); return (okay == KERN_SUCCESS) ? state.__rip : PC_SENTINEL; https://github.com/opensource-apple/objc4/blob/master/runtim... If you have a lot of threads running, this could get really expensive. I presume it…
comment by nkurz · 2016-05-26 · in Making algorithms lock-free with Read-Copy Update (RCU) -
You can do a variant of this in userspace as well: https://github.com/opensource-apple/objc4/blob/master/runtim... Basically, issue a syscall that acquires the PC of all threads. When none of the PCs are in the critical section, then you…
comment by simscitizen · 2016-05-26 · in Making algorithms lock-free with Read-Copy Update (RCU) -
…ends up doing is far more complex — it has to be, to ensure the correctness of its purposes: https://github.com/opensource-apple/objc4/blob/master/runtim...
comment by ovokinder · 2015-05-05 · in Atomics in Objective-C