Mac OS 9
MultiprocessingInfo.h File Reference

Multiprocessing Information interfaces. More...

#include <MacTypes.h>
#include <Multiprocessing.h>

Go to the source code of this file.

Data Structures

struct  MPQueueInfo
 
struct  MPSemaphoreInfo
 
struct  MPEventInfo
 
struct  MPCriticalRegionInfo
 
struct  MPNotificationInfo
 
struct  MPAddressSpaceInfo
 

Typedefs

typedef struct MPQueueInfo MPQueueInfo
 
typedef struct MPSemaphoreInfo MPSemaphoreInfo
 
typedef struct MPEventInfo MPEventInfo
 
typedef struct MPCriticalRegionInfo MPCriticalRegionInfo
 
typedef struct MPNotificationInfo MPNotificationInfo
 
typedef struct MPAddressSpaceInfo MPAddressSpaceInfo
 

Enumerations

enum  {
  kMPQueueInfoVersion = 1L | (kOpaqueQueueID << 16) , kMPSemaphoreInfoVersion = 1L | (kOpaqueSemaphoreID << 16) , kMPEventInfoVersion = 1L | (kOpaqueEventID << 16) , kMPCriticalRegionInfoVersion = 1L | (kOpaqueCriticalRegionID << 16) ,
  kMPNotificationInfoVersion = 1L | (kOpaqueNotificationID << 16) , kMPAddressSpaceInfoVersion = 1L | (kOpaqueAddressSpaceID << 16)
}
 

Functions

MPPageSizeClass MPGetPageSizeClasses (void)
 
ByteCount MPGetPageSize (MPPageSizeClass pageClass)
 
OSStatus MPGetNextCoherenceID (MPCoherenceID *coherenceID)
 
OSStatus MPGetNextCpuID (MPCoherenceID owningCoherenceID, MPCpuID *cpuID)
 
OSStatus MPGetNextProcessID (MPProcessID *processID)
 
OSStatus MPGetNextAddressSpaceID (MPProcessID owningProcessID, MPAddressSpaceID *addressSpaceID)
 
OSStatus MPGetNextTaskID (MPProcessID owningProcessID, MPTaskID *taskID)
 
OSStatus MPGetNextQueueID (MPProcessID owningProcessID, MPQueueID *queueID)
 
OSStatus MPGetNextSemaphoreID (MPProcessID owningProcessID, MPSemaphoreID *semaphoreID)
 
OSStatus MPGetNextCriticalRegionID (MPProcessID owningProcessID, MPCriticalRegionID *criticalRegionID)
 
OSStatus MPGetNextTimerID (MPProcessID owningProcessID, MPTimerID *timerID)
 
OSStatus MPGetNextEventID (MPProcessID owningProcessID, MPEventID *eventID)
 
OSStatus MPGetNextNotificationID (MPProcessID owningProcessID, MPNotificationID *notificationID)
 
OSStatus MPGetNextAreaID (MPAddressSpaceID owningSpaceID, MPAreaID *areaID)
 
OSStatus MPGetNextConsoleID (MPConsoleID *consoleID)
 
OSStatus MPGetNextID (MPOpaqueIDClass kind, MPOpaqueID *id)
 
OSStatus MPGetQueueInfo (MPQueueID id, PBVersion version, MPQueueInfo *info_o)
 
OSStatus MPGetSemaphoreInfo (MPSemaphoreID id, PBVersion version, MPSemaphoreInfo *info_o)
 
OSStatus MPGetEventInfo (MPEventID id, PBVersion version, MPEventInfo *info_o)
 
OSStatus MPGetCriticalRegionInfo (MPCriticalRegionID id, PBVersion version, MPCriticalRegionInfo *info_o)
 
OSStatus MPGetNotificationInfo (MPNotificationID id, PBVersion version, MPNotificationInfo *info_o)
 
OSStatus MPGetAddressSpaceInfo (MPAddressSpaceID id, PBVersion version, MPAddressSpaceInfo *info_o)
 

Detailed Description

Multiprocessing Information interfaces.

Introduced In: Multiprocessing Information API version 2.2
Avaliable From: Universal Interfaces 3.4.1
Copyright: � 1995-2001 DayStar Digital, Inc.

This is the header file for version 2.3 of the Mac OS multiprocessing information support.

The following services are new in version 2.1:

MPGetNextTaskID

MPGetNextCpuID

The following services are new in version 2.2:

MPGetPageSizeClasses

MPGetPageSize

MPGetNextAreaID

The following services are new in version 2.3:

MPGetNextCoherenceID

MPGetNextProcessID

MPGetNextAddressSpaceID

MPGetNextQueueID

MPGetNextSemaphoreID

MPGetNextCriticalRegionID

MPGetNextTimerID

MPGetNextEventID

MPGetNextNotificationID

MPGetNextConsoleID

For bug reports, consult the following page on the World Wide Web: http://developer.apple.com/bugreporter/

Warning
You must properly check the availability of MP services before calling them! See CheckingAPIAvailability

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Information Services

Warning
The implementation of MPGetObjectInfo assumes that all info records are in 4 byte multiples.

Function Documentation

◆ MPGetAddressSpaceInfo()

OSStatus MPGetAddressSpaceInfo ( MPAddressSpaceID  id,
PBVersion  version,
MPAddressSpaceInfo info_o 
)

MPGetAddressSpaceInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetCriticalRegionInfo()

OSStatus MPGetCriticalRegionInfo ( MPCriticalRegionID  id,
PBVersion  version,
MPCriticalRegionInfo info_o 
)

MPGetCriticalRegionInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetEventInfo()

OSStatus MPGetEventInfo ( MPEventID  id,
PBVersion  version,
MPEventInfo info_o 
)

MPGetEventInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextAddressSpaceID()

OSStatus MPGetNextAddressSpaceID ( MPProcessID  owningProcessID,
MPAddressSpaceID *  addressSpaceID 
)

MPGetNextAddressSpaceID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextAreaID()

OSStatus MPGetNextAreaID ( MPAddressSpaceID  owningSpaceID,
MPAreaID *  areaID 
)

MPGetNextAreaID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextCoherenceID()

OSStatus MPGetNextCoherenceID ( MPCoherenceID *  coherenceID)

\section ID Iterator Services

MPGetNextCoherenceID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextConsoleID()

OSStatus MPGetNextConsoleID ( MPConsoleID *  consoleID)

MPGetNextConsoleID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextCpuID()

OSStatus MPGetNextCpuID ( MPCoherenceID  owningCoherenceID,
MPCpuID *  cpuID 
)

MPGetNextCpuID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextCriticalRegionID()

OSStatus MPGetNextCriticalRegionID ( MPProcessID  owningProcessID,
MPCriticalRegionID *  criticalRegionID 
)

MPGetNextCriticalRegionID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextEventID()

OSStatus MPGetNextEventID ( MPProcessID  owningProcessID,
MPEventID *  eventID 
)

MPGetNextEventID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextID()

OSStatus MPGetNextID ( MPOpaqueIDClass  kind,
MPOpaqueID *  id 
)

MPGetNextID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextNotificationID()

OSStatus MPGetNextNotificationID ( MPProcessID  owningProcessID,
MPNotificationID *  notificationID 
)

MPGetNextNotificationID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextProcessID()

OSStatus MPGetNextProcessID ( MPProcessID *  processID)

MPGetNextProcessID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextQueueID()

OSStatus MPGetNextQueueID ( MPProcessID  owningProcessID,
MPQueueID *  queueID 
)

MPGetNextQueueID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextSemaphoreID()

OSStatus MPGetNextSemaphoreID ( MPProcessID  owningProcessID,
MPSemaphoreID *  semaphoreID 
)

MPGetNextSemaphoreID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextTaskID()

OSStatus MPGetNextTaskID ( MPProcessID  owningProcessID,
MPTaskID *  taskID 
)

MPGetNextTaskID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNextTimerID()

OSStatus MPGetNextTimerID ( MPProcessID  owningProcessID,
MPTimerID *  timerID 
)

MPGetNextTimerID()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetNotificationInfo()

OSStatus MPGetNotificationInfo ( MPNotificationID  id,
PBVersion  version,
MPNotificationInfo info_o 
)

MPGetNotificationInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetPageSize()

ByteCount MPGetPageSize ( MPPageSizeClass  pageClass)

MPGetPageSize()

The page size in bytes.

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetPageSizeClasses()

MPPageSizeClass MPGetPageSizeClasses ( void  )

size Services

MPGetPageSizeClasses()

The number of page size classes, 1 to n.

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetQueueInfo()

OSStatus MPGetQueueInfo ( MPQueueID  id,
PBVersion  version,
MPQueueInfo info_o 
)

MPGetQueueInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available

◆ MPGetSemaphoreInfo()

OSStatus MPGetSemaphoreInfo ( MPSemaphoreID  id,
PBVersion  version,
MPSemaphoreInfo info_o 
)

MPGetSemaphoreInfo()

Non-Carbon CFM: in MPDiagnostics 2.3 and later
Carbon Lib: not available
Mac OS X: not available