Skip navigation.
 
mlRe: Dictionary Enumeration
FROM : David Wilson
DATE : Fri May 09 01:22:52 2008

On Thu, May 8, 2008 at 7:19 PM, Western Botanicals
<<email_removed>> wrote:
> How can I lock it then?


If you just want to lock it for synchronization, use an NSLock if
you're multithreaded.

Actually, if you're multithreaded, you should really be aware that
none of the containers are thread-safe and they should always be
wrapped in synchronization primitives.

If your problem is single threaded, then just don't edit during your
enumeration- save your edits somewhere and apply them after the
enumeration.

--
- David T. Wilson
david.t.<email_removed>

Related mailsAuthorDate
mlDictionary Enumeration Western Botanicals May 9, 01:05
mlRe: Dictionary Enumeration Nick Zitzmann May 9, 01:16
mlRe: Dictionary Enumeration Ken Thomases May 9, 01:18
mlRe: Dictionary Enumeration Western Botanicals May 9, 01:19
mlRe: Dictionary Enumeration David Wilson May 9, 01:22