Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

OlyaGracheva

macrumors newbie
Original poster
Oct 17, 2008
13
0
Hi there!

I'm hoping someone will be kind enough to help me out here. I'm not sure where else to put this thread so I thought this may be the best place...

I am learning Objective-C and I need to know the following. I would be very grateful if someone can point me towards a guide/book/reference that explains the following terms:

Process
Thread
Forks

Many thanks,

Olya
 

HiRez

macrumors 603
Jan 6, 2004
6,265
2,630
Western US
Here is an overview from Apple.

This is a book you have to pay for, but Advanced Mac OS X Programming is a really good reference for this sort of thing (kind of low-level C/UNIX-y stuff, but specifically related to OS X and in many parts, Cocoa).

Generally you probably want to avoid multithreading your app if possible. There are some tools you can use, such as NSTimer, NSTask, and NSOperation/NSOperationQueue, to do many multithread-like things without actually threading (or at least simplifying/hiding it). Your debugging can get a lot more complicated once you start multithreading, as you probably know if you've done any before. But anyway, here is a really nice article on Cocoa threading in Leopard from Cocoa Samurai.
 

OlyaGracheva

macrumors newbie
Original poster
Oct 17, 2008
13
0
Hi there!

Thank you very much for that. I'll look into it.

Happy New Year.

Olya
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.