• 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
Re: Swift: another crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift: another crash


  • Subject: Re: Swift: another crash
  • From: Roland King <email@hidden>
  • Date: Tue, 08 Jul 2014 20:10:47 +0800

> On 8 Jul 2014, at 7:28 pm, Gerriet M. Denkmann <email@hidden> wrote:
>
>
> On 8 Jul 2014, at 18:20, Roland King <email@hidden> wrote:
>
>> theCounts[ Int(idx) ] = localCount;
>>
>> That doesn’t look very thread-safe.
>
> Obviously the current Swift arrays are not thread-safe.


Well to be fair if you’d done that with an NSMutableArray you’d have been asking for the same kind of problem.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Swift: another crash (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: Swift: another crash (From: Roland King <email@hidden>)
 >Re: Swift: another crash (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: Re: Swift: another crash
  • Next by Date: Re: Swift Beta 3 has no more CConstPointer
  • Previous by thread: Re: Swift: another crash
  • Next by thread: How to delete a autolayout constraint in Xcode 6?
  • Index(es):
    • Date
    • Thread