Been doing a lot of mucking around with multi-threading lately (especially the new feature in Snow Leopard).

Using Grand Central dispatch is actually pretty easy.

First of all one needs to #import the header file.

Next they should put the processor intensive code within a block.

For example:

dispatch_async(dispatch_get_global_queue(0,0), ^{
// Code goes here
});
Bookmark and Share