• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTimer and user interface events
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: NSTimer and user interface events
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: NSKeyedUnarchiver and "root" key
  • Next by Date: Error -10827 from Launch Services
  • Previous by thread: Re: NSKeyedUnarchiver and "root" key
  • Next by thread: Re: NSTimer and user interface events
  • Index(es):
    • Date
    • Thread