Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Carbon equivalent of OTScheduleSystemTask



If my pre-Carbon code depended on OTScheduleSystemTask to schedule code to run at non-interrupt level, how do I handle this under Carbon?

Also, trying to compile

OTProcessProcPtr myDeferredUPP = NewOTProcessUPP(MyDeferredMethod);

where MyDeferredMethod is defined as

pascal void MyDeferredMethod(void* contextPtr);

is yielding

Error : illegal implicit conversion from 'OpaqueOTProcessProcPtr *' to
'pascal void (*)(void *)'


However, I can't find any header which defines OpaqueOTProcessProcPtr. How do I properly declare myDeferredUPP? Or convert between it and OpaqueOTProcessProcPtr?

Thanks,
Eric




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.