Mailing Lists: Apple Mailing Lists

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

Re: Carbon equivalent of OTScheduleSystemTask



Eric,

I would use a thread to replace OT system tasks.

Vincent

On Monday, June 11, 2001, at 11:57 AM, Eric Singer wrote:

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?


References: 
 >Carbon equivalent of OTScheduleSystemTask (From: Eric Singer <email@hidden>)



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.