Re: Swift: another crash
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