Skip to content

MTY_ThreadFunc

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Function that is executed on a thread.

typedef void *(*MTY_ThreadFunc)(
    void * opaque
);

Parameters

opaque (void *)

Pointer set via MTY_ThreadCreate or MTY_ThreadDetach.

Return value

void *

An opaque pointer that gets returned by MTY_ThreadDestroy if the thread has not been run as detached.

See also

Module: Thread

Clone this wiki locally