• 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
CGDisplayReconfigurationCallBack
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CGDisplayReconfigurationCallBack


  • Subject: CGDisplayReconfigurationCallBack
  • From: Trygve Inda <email@hidden>
  • Date: Sun, 30 Mar 2008 13:31:14 +0000
  • Thread-topic: CGDisplayReconfigurationCallBack

> void MyDisplayReconfigurationCallBack (
>    CGDirectDisplayID display,
>    CGDisplayChangeSummaryFlags flags,
>    void *userInfo
> );
>
> Your callback function should avoid attempting to change display
> configurations, and should not raise exceptions or perform a non-local return
> such as calling longjmp.

Does this mean I should stuff display and flags into a dict and use
something like

- (void)performSelector:(SEL)aSelector withObject:(id)anArgument
afterDelay:(NSTimeInterval)delay

How can I ensure a longjmp is not used here?

Thanks,

Trygve


_______________________________________________

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: CGDisplayReconfigurationCallBack
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Thread safe?
  • Next by Date: Re: CGDisplayReconfigurationCallBack
  • Previous by thread: Re: NSPredicate and Regexes
  • Next by thread: Re: CGDisplayReconfigurationCallBack
  • Index(es):
    • Date
    • Thread