Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
Posted Sep 13, 2009 20:24 UTC (Sun) by nix (subscriber, #2304)In reply to: Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider) by muwlgr
Parent article: Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
Yeah, but I don't see why conserving 512Kb is really worth introducing all
this complexity. 512Kb is basically nothing on a 64-bit system, and not
terribly much on a 32-bit one unless you have thousands of threads (in
which case each thread will be incredibly slow unless your system is
humungous --- in which case it's probably 64-bit).
this complexity. 512Kb is basically nothing on a 64-bit system, and not
terribly much on a 32-bit one unless you have thousands of threads (in
which case each thread will be incredibly slow unless your system is
humungous --- in which case it's probably 64-bit).
I suspect the real reason this was implemented is because it actually
allows proper utilization of all CPUs: it's not doable without some sort
of systemwide coordination. I wish we had something like it in Linux.
