Apple open-source Grand Central

2009-09-11 Thread Nicolas Roard
FYI http://www.macresearch.org/grand-central-now-open-all http://libdispatch.macosforge.org/post/libdispatch-is-open-source/ (licensed under Apache License Version 2.0) -- Nicolas Roard I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams

Re: Grand Central

2009-06-15 Thread Jamie Ramone
This block thingy looks interesting. Oh, while we're on the topic of multi-processors, I've invented an algorithm that allows parallel lock-less insertions on a linked list. Could be useful for NSConnections, as it's WAY more efficient than anything else I've ever seen (and, yes, I am including

Re: Grand Central

2009-06-15 Thread David Chisnall
On 15 Jun 2009, at 09:28, Jamie Ramone wrote: This block thingy looks interesting. Oh, while we're on the topic of multi-processors, I've invented an algorithm that allows parallel lock-less insertions on a linked list. Could be useful for NSConnections, as it's WAY more efficient than anything

Re: Grand Central

2009-06-15 Thread Jamie Ramone
On Mon, Jun 15, 2009 at 6:42 AM, David Chisnallthera...@sucs.org wrote: On 15 Jun 2009, at 09:28, Jamie Ramone wrote: This block thingy looks interesting. Oh, while we're on the topic of multi-processors, I've invented an algorithm that allows parallel lock-less insertions on a linked list.

Grand Central

2009-06-14 Thread David Chisnall
In case anyone hasn't seen this, Apple have published a few more details about Grand Central: http://images.apple.com/macosx/technology/docs/GrandCentral_TB_brief_20090608.pdf There is no API documentation yet, but it seems that it basically spawns a set of threads at different priorities

Re: Grand Central

2009-06-14 Thread Pete French
http://images.apple.com/macosx/technology/docs/GrandCentral_TB_brief_20090608.pdf Interesting - that ^{ syntax to describe a block is somewhat ugly, and it doesnt give any deats of how you associate data with a block (which is necessary if you want to get rid of locks). It still all looks a bit

Re: Grand Central

2009-06-14 Thread Jens Ayton
On Jun 14, 2009, at 14:53, Pete French wrote: http://images.apple.com/macosx/technology/docs/GrandCentral_TB_brief_20090608.pdf Interesting - that ^{ syntax to describe a block is somewhat ugly, and it doesnt give any deats of how you associate data with a block (which is necessary if