Carbon


gestaltThreadMgrAttr

Header: Gestalt.h

enum {
    gestaltThreadMgrAttr = 'thds',
    gestaltThreadMgrPresent = 0,
    gestaltSpecificMatchSupport = 1,
    gestaltThreadsLibraryPresent = 2
};

Constant descriptions

gestaltThreadMgrAttr
gestaltThreadMgrPresent

This bit is set if the Thread Manager is present.

gestaltSpecificMatchSupport

This bit is set if the Thread Manager supports the allocation of threads based on an exact match with the requested stack size. If this bit is not set, the Thread Manager allocates threads based on the closest match to the requested stack size.

gestaltThreadsLibraryPresent

This bit is set if the native version of the threads library has been loaded.

Before calling any function dependent upon the Thread Manager, your application should pass the selector gestaltThreadMgrAttr to the Gestalt function to determine the Thread Manager attributes that are present.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)