Gentee Programming Language > Documentation > Libraries Download documentation

thread.getexitcode

Get the thread exit code.
 
uint thread.getexitcode(
      uint   result
)

Parameters

resultThe 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

Nonzero if initialization was successful; otherwise 0.

See also

    Threads


 Copyright © 2004-2006 Gentee Inc. All rights reserved.