• 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: CA_DEBUG_TRANSACTIONS=1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CA_DEBUG_TRANSACTIONS=1


  • Subject: Re: CA_DEBUG_TRANSACTIONS=1
  • From: John MacMullin <email@hidden>
  • Date: Thu, 06 Sep 2012 09:09:18 -0700

More or less.

It appears that since the documentation in NSBundle does not state that its thread safe, it isn't.

From Core Animation tho, it would appear that executing a CATransaction flush may have resolved my original message, but perhaps not the problem.

If I read this correctly, this updates the layers, which wouldn't otherwise be updated on a background thread.

It would seem that if I call a non-thread safe function in a background thread, i.e., from an NSOperationQueue, that a compile or other error should result.

On Sep 5, 2012, at 5:48 PM, Kyle Sluder <email@hidden> wrote:

> On Sep 5, 2012, at 5:13 PM, John MacMullin <email@hidden> wrote:
>
>> Ok, that was it.  I loaded [NSBundle loadNibNamed:XXX] in a background thread.
>>
>> Fixing that problem resolved the message.
>
> Did the process of fixing it also illuminate other areas you seem to be hazy on, such as how Core Animation works, why loading nibs on background threads is always incorrect, and how the debugger fits into the Xcode edit/compile/debug cycle?
>
> --Kyle Sluder

Best regards,

John MacMullin
_______________________________________________

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: CA_DEBUG_TRANSACTIONS=1
      • From: Kyle Sluder <email@hidden>
References: 
 >CA_DEBUG_TRANSACTIONS=1 (From: John MacMullin <email@hidden>)
 >Re: CA_DEBUG_TRANSACTIONS=1 (From: Kyle Sluder <email@hidden>)
 >Re: CA_DEBUG_TRANSACTIONS=1 (From: John MacMullin <email@hidden>)
 >Re: CA_DEBUG_TRANSACTIONS=1 (From: Kyle Sluder <email@hidden>)
 >Re: CA_DEBUG_TRANSACTIONS=1 (From: John MacMullin <email@hidden>)
 >Re: CA_DEBUG_TRANSACTIONS=1 (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Collision between Cocoa classes for AU and VST plugins
  • Next by Date: Re: View based outline view and custom NSTableCellViews
  • Previous by thread: Re: CA_DEBUG_TRANSACTIONS=1
  • Next by thread: Re: CA_DEBUG_TRANSACTIONS=1
  • Index(es):
    • Date
    • Thread