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.
|
|---|