hi, I want to synchronize one queue among two threads. Such as one thread performs enqueue and other performs dequeue. Any ideas??
+1
A:
Cocoa class like NSArray or NSMutableArray is non thread safe, you have to use object NSLock class to make them thread safe.
Girish Kolari
2010-07-24 08:41:16