Important: The information in this document is obsolete and should not be used for new development.
Sleep Queue Record
TheSleepQInstall
andSleepQRemove
procedures take as a parameter the address of a sleep queue record, which is defined by theSleepQRec
data type.
TYPE SleepQRec = RECORD sleepQLink: SleepQRecPtr; {next queue element} sleepQType: Integer; {queue type = 16} sleepQProc: ProcPtr; {pointer to sleep procedure} sleepQFlags: Integer; {reserved} END; SleepQRecPtr = ^SleepQRec;
Field Description
sleepQLink
- A pointer to the next element in the queue. This pointer is maintained internally by the Power Manager; your application should not modify this field.
sleepQType
- The type of the queue, which must be the constant
slpQType
(16).sleepQProc
- A pointer to your sleep procedure. See "Sleep Procedures," on page 6-65, for details on this routine.
sleepQFlags
- Reserved for use by Apple Computer, Inc.