• 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
Accessing array in thread safe way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Accessing array in thread safe way


  • Subject: Accessing array in thread safe way
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Tue, 06 Mar 2012 20:51:10 +0100

Hello,

I have an array of progress values (number objects) for subprojects, from which I calculate the overall progress .
The array is an atomic property of the project class.

Is it safe to access this array from multiple threads, using methods like objectAtIndex and replaceObjectAtIndex?

Jan E.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Accessing array in thread safe way
      • From: Brian Lambert <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Charles Srstka <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Preston Sumner <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Joar Wingfors <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Charles Srstka <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Roland King <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Jens Alfke <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Jonathan Hull <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Nick Zitzmann <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Wim Lewis <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Fritz Anderson <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Sean McBride <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Conrad Shultz <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Mike Abdullah <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Dave Zarzycki <email@hidden>
    • Re: Accessing array in thread safe way
      • From: "Stephen J. Butler" <email@hidden>
    • Re: Accessing array in thread safe way
      • From: Marco Tabini <email@hidden>
  • Prev by Date: Re: Efficiency Question...
  • Next by Date: Re: JSON validator for Xcode
  • Previous by thread: Re: JSON validator for Xcode
  • Next by thread: Re: Accessing array in thread safe way
  • Index(es):
    • Date
    • Thread