News for hackers. Stuff that matters.
Re:Why Spinlocks Are Bad On iOS by devit on Wednesday December 23, 2015 @04:10PM (#10785663)
Did Apple seriously silently change all programs to use what seems to be real-time scheduling?

That obviously breaks the whole system, spinlocks or not (threads doing long CPU-bound computations will block everything else).

Re:Why Spinlocks Are Bad On iOS by mwfunk on Wednesday December 23, 2015 @04:50PM (#10785885)
No? Really? Seriously? See also pthread_spin_lock on your friendly neighborhood Linux box or other post-2001 POSIXy system.
Re:Why Spinlocks Are Bad On iOS by astrange on Wednesday December 23, 2015 @05:59PM (#10786167)
Threads using the realtime policy in Darwin don't block the system, because if they run out their requested time they're heavily demoted.

You can cause pretty bad performance by running too long in user-interactive or in OpenCL, so, like, don't do that.

Re:Why Spinlocks Are Bad On iOS by eridius on Wednesday December 23, 2015 @04:13PM (#10785688)
It's been like this for over a year at this point. The whole system appears to still work.