Function CSPThread::SetPriority()

Description:
Sets the thread priority level of the thread.

Prototype:
int SetPriority(int iLevel) const;

Arguments:
  • int iLevel [IN]
    The thread priority level.



Return value:
If successful, it returns true. Otherwise, it returns false.

Remarks:
The values accepted by this function are:

CSPThread::TIME_CRITICAL
CSPThread::HIGHEST
CSPThread::ABOVE_NORMAL
CSPThread::NORMAL
CSPThread::BELOW_NORMAL
CSPThread::LOWEST
CSPThread::IDLE

See also:
member function GetPriority()
CSPThread | Other support classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd