FROM : Trygve Inda
DATE : Sun Mar 30 15:31:14 2008
> 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
DATE : Sun Mar 30 15:31:14 2008
> 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
| Related mails | Author | Date |
|---|---|---|
| Trygve Inda | Mar 30, 15:31 | |
| Jean-Daniel Dupas | Mar 30, 16:05 | |
| Trygve Inda | Apr 2, 00:12 | |
| Jean-Daniel Dupas | Apr 2, 01:19 |






Cocoa mail archive

