[1] http://hawtdispatch.fusesource.org/#The_DispatchQueue
Regards,
Hiram
FuseSource
Web: http://fusesource.com/
Serial dispatch queues execute their tasks on only one thread at a
time, but my get moved from thread to thread depending on availability
of concurrent executors.
Serial queues will generally only switch between threads once they
drain all their queued tasks. HawtDispatch does have some deprecated
API's to dispatch queues which really are pinned to a single Thread,
but I've failed to see cases where using those APIs produce much
better results than serial dispatch queues. More often than not,
using those APIs, leads to thread starvation situations.
Regards,
Hiram
FuseSource
Web: http://fusesource.com/