NSTimer and user interface events
NSTimer and user interface events
- Subject: NSTimer and user interface events
- From: "Shoaib" <email@hidden>
- Date: Mon, 12 Jan 2004 16:12:28 GMT
I have an NSTimer that fires every 5 seconds and updates a data structure in
my application. The same data structure can also be updated through a user
interface event (like the user editing the data).
My question is the following:
Do I need to protect my data structure from simultaneous updates from the
timer and user interface events?
_______________________________________________
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.