in reply to Re^2: grand central dispatch like mechanism?
in thread grand central dispatch like mechanism?

this is 95% of the functionality. the other 5% is intelligent queuing-

No. That code will be intelligently dispatched by the OS kernel scheduler. As coded, it will still only take 8 seconds to run even if you only have a single processor.

It is really hard to explain how it does that if you do not understand Timeslicing & Preemptive Multitasking, but trust me, it works.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"I'd rather go naked than blow up my ass"
  • Comment on Re^3: grand central dispatch like mechanism?