Re: How did gcc handle synthesized atomic vs custom nonatomic setter/getter?
Re: How did gcc handle synthesized atomic vs custom nonatomic setter/getter?
- Subject: Re: How did gcc handle synthesized atomic vs custom nonatomic setter/getter?
- From: Bill Bumgarner <email@hidden>
- Date: Sun, 10 Oct 2010 10:20:44 -0700
On Oct 10, 2010, at 5:10 AM, Jerry Krinock wrote:
> In deciding how to solve the problem, I'd like to know how gcc solved the problem! It seems there are three choices:
>
> (1) Wrap my non-atomic custom setter/getter code to make it atomic.
> (2) Change my declaration to make it nonatomic.
> (3) Somehow ignore the rule and compile the code as I wrote it.
>
> Which did gcc do?
GCC ignored the problem and happily generated code that wasn't atomic.
b.bum
_______________________________________________
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