![]() |
Timer Option Masks |
Header: Multiprocessing.h |
Indicate optional actions when calling MPArmTimer.
enum { kMPPreserveTimerIDMask = 1, kMPTimeIsDeltaMask = 2, kMPTimeIsDurationMask = 4 };
Specifying this mask indicates that the specified time should be added to the previous expiration time to form the new expiration time. You can use this mask to compensate for timing drift caused by the finite amount of time required to arm the timer, receive the notification, and so on.
Specifying this mask indicates that the specified expiration time is of type Duration. You can use this mask to avoid having to call time conversion routines when specifying an expiration time.
Introduced with Multiprocessing Services 2.0.
© 2000 Apple Computer, Inc. (Last Updated 7/13/2000)