Re: Threads and locks
Re: Threads and locks
- Subject: Re: Threads and locks
- From: Shawn Erickson <email@hidden>
- Date: Thu, 1 Apr 2004 14:50:58 -0800
On Apr 1, 2004, at 1:25 PM, Mark's Studio wrote:
Im having trouble get multi threading to work (EXC_BAD_ACCESS in random
places )
i only use one NSLock is that enough, or do i need to have a seperate
lock for every object?
what should i do to make this thread safe
[array1 setArray:array2]
both arrays are NSMutableArray
Wow... this is a big subject that you best understand yourself and not
easy to convey in email. I would say find a book or online resources on
multithreading and locking constructs.
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.