EnglishРусский  
 Share/Save/Bookmark
 

thread.getexitcode

Get the thread exit code.

method uint thread.getexitcode (
   uint result
)

Parameters

result The pointer to a variable of the uint type the thread exit code will be written to. If the thread is still active, the value $STILL_ACTIVE will be written.

Return value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Related links

Source

Edit