home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.3 KB | 71 lines | [TEXT/MPS ] |
- /*
- File: Multiprocessing.idl
-
- Contains: Multiprocessing interfaces
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __MULTIPROCESSING_IDL__
- #define __MULTIPROCESSING_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __CODEFRAGMENTS_IDL__
- #include <CodeFragments.idl>
- #endif
- #ifndef __KERNEL_IDL__
- #include <Kernel.idl>
- #endif
- #ifndef __TIMING_IDL__
- #include <Timing.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_ONLY
- typedef OpaquePtr MPTaskID;
-
- typedef OpaquePtr MPQueueID;
-
- typedef UInt32 MPTaskOptions;
-
- typedef OpaquePtr TaskProc;
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef TaskID MPTaskID;
-
- typedef KernelQueueID MPQueueID;
-
- typedef TaskOptions MPTaskOptions;
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- typedef OpaquePtr MPSemaphoreID;
-
- typedef OpaquePtr MPCriticalRegionID;
-
- typedef UInt32 MPSemaphoreCount;
-
- #endif
- #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __MULTIPROCESSING_IDL__ */
-
-