SCO OpenServer
ismpx(D3oddi)
ismpx --
determine whether this is a multiprocessor configuration
Synopsis
int ismpx(void);
Description
ismpx( )
reports whether this is a multiprocessor configuration
and, if so, how many CPUs are configured.
Arguments
None
Return values
Returns the number of configured CPUs
for multiprocessor configurations
or 0 for uniprocessor configurations.
Usage
ismpx( )
is often used as a boolean,
where a non-zero return indicates
that this is a multiprocessor configuration
and a zero return value indicates
that this is a uniprocessor configuration.
Context and synchronization
All
contexts.
Hardware applicability
All
Version applicability
oddi:
2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp
SVR5 DDI compatibility
This function is not supported for DDI drivers.
References
``Multithreaded drivers'' in HDK Technical Reference
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005