Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
Posted Sep 14, 2009 16:48 UTC (Mon) by malor (guest, #2973)In reply to: Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider) by epa
Parent article: Apple Open Sources Snow Leopard's Grand Central Dispatch (Apple Insider)
just start 500 threads
That seems better than guessing how many threads to start at once.
You're still more or less guessing with that 500.
And yeah, the kernel probably would be a better place, but this kind of rich management API seems very against the minimalist Linux kernel team ethos. It strikes me that they'd insist, whether rightly or wrongly, that an API with this much management (like dependencies and subqueues) would have to be implemented in user space, which goes right back to GCD.
