[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_endthreadex

Exits the thread.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS
Palm OS

Win32


Prototype:
#include <process.h>
VOID __cdecl _endthreadex(DWORD inReturnCode);
Parameters:

Parameters for this function are:

inReturnCode  
DWORD  
The exit code is passed through this argument.  

Return:

None, the thread is over.

Remarks:

The function_endthreadex is similar to the Windows call ExitThread except this functions properly destroys the thread local data used by MSL.

See Also:

"_beginthreadex"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000