News for hackers. Stuff that matters.
Re:Concurrent Memory Deallocation in the Objective-C Runtime by bdonlan on Sunday June 07, 2015 @06:17AM (#9674057)
The read-side code in question is hand-written assembly code, isn't it? And on the hardware side, observing pc will probably result in an actual memory barrier happening anyway (even if no signal is sent internally the kernel must still suspend the thread to capture register state, and then it needs a barrier to communicate that result back to the asking thread).
Re:Concurrent Memory Deallocation in the Objective-C Runtime by vitalyd on Sunday June 07, 2015 @09:13AM (#9674520)
Yes, perhaps that part is in the hand written assembly portion that's mentioned.