• 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: @synchronized produces warning on messages to super
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @synchronized produces warning on messages to super


  • Subject: Re: @synchronized produces warning on messages to super
  • From: Jonathan del Strother <email@hidden>
  • Date: Wed, 25 Jan 2006 16:37:59 +0000

On 25 Jan 2006, at 16:24, Shawn Erickson wrote:

On 1/25/06, Jonathan del Strother <email@hidden> wrote:
I found an oddity in @synchronized() behaviour - it produces warnings
on any messages to super that appear after the @synchronized
directive.   As a trivial (and nonsensical) example :

@synchronized(@"blah") {}

Are you really synchronizing against a string constant?

Umm...no. That got introduced halfway between XCode and Mail :)

The problem occurs regardless what you sync against.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >@synchronized produces warning on messages to super (From: Jonathan del Strother <email@hidden>)
 >Re: @synchronized produces warning on messages to super (From: Shawn Erickson <email@hidden>)

  • Prev by Date: Re: Problems using Hotkeys and references to an NSSearchField
  • Next by Date: Something faster than [NSImage drawInRect:...]?
  • Previous by thread: Re: @synchronized produces warning on messages to super
  • Next by thread: Re: @synchronized produces warning on messages to super
  • Index(es):
    • Date
    • Thread