Function CSPThread::Run()

Description:
This protected member function is the body of the thread and is automatically called when the member function Start() is called.

Micronovae Prototype:
private: virtual unsigned long Run() = 0;

Arguments:
No arguments (void).

Return value:
Returns the exit code.

Remarks:
Every derived class should implement this member function.

Examples:
class CSPMyThread : public CSPThread
{
// Declare your data here.
};
CSPMyThread::Run()
{
// ... write your thread code here

return 0; // exit code
}

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

Copyright © 2002 - 2006 Micronovae Ltd. - www.micronovae.com