News for hackers. Stuff that matters.
Re:Measuring mutexes, spinlocks and how bad the Linux schedu... by closeparen on Thursday January 02, 2020 @02:09AM (#21933540)
One child asks, "are we there yet?" continuously until the answer changes. The other asks you to wake her once you get there, and goes to sleep.

The spinlocking child will react to his arrival faster, but the sleeping (mutex) child makes a more efficient use of your attention.

There are no comments on this comment yet.