PM_setMaxThreadPriority

Increase the thread priority to maximum, if possible.

Declaration

ulong PMAPI PM_setMaxThreadPriority(void)

Prototype In

pmapi.h

Return Value

Old thread priority

Description

This function is used to set the current thread priority to the maximum possible. This should not be used very often, but is useful for important timing and calibration loops that need to be very accurate. The current thread priority that was active before the change is returned.

See Also

PM_restoreThreadPriority

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com