Creates POSIX thread. The function returns E_SYSTEM
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(thread_type), | intent(out) | :: | thread |
Thread type. |
||
procedure(dm_thread_callback) | :: | callback |
Callback procedure of POSIX thread. |
|||
type(*), | intent(inout), | target | :: | arg |
Client data to be passed to thread procedure. |