Skip to content

MTY_ThreadDestroy

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Wait until an MTY_Thread has finished executing then destroy it.

Otherwise known as "joining" a thread.

void *MTY_ThreadDestroy(
    MTY_Thread ** thread
);

Parameters

thread (MTY_Thread **)

Passed by reference and set to NULL after being destroyed.

Return value

void *

The return value from func set via MTY_ThreadCreate.

Platform support

Windows   macOS   Android   Linux  

See also

Module: Thread

Clone this wiki locally