Function CSPThread::Kill()

Description:
This function kills a thread, specifing an exit code.

Prototype:
bool Kill(unsigned long ulExitCode);

Arguments:
  • unsigned long ulExitCode [IN]
    The exit code of the thread.



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

Remarks:
Use this function with extreme care. A call to this member function may cause memory leaks, deadlocks, or may cause your program to function improperly.

See also:
member functions Suspend(), Resume(), Start()
CSPThread | Other support classes | Class Categories | Online help home | Back

www.micronovae.com

Copyright © 2002 - 2005 Micronovae Ltd