Idea for new VDSO feature: a function to query whether there are tasks waiting to run on the current cpu.
That's a trylock op, not a lock op, and not related to the topic at hand since it never involves waits or spins.
-
-
yeah, but can be cheap. otherwise, typically just do a short spin and then yield (ex: 256 cycles), since this generally works ok
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.