Platform | x64, Win32 |
Purpose |
To start a new thread. |
Syntax |
INTEGER(7) START_THREAD@(SUB, PARAM) |
Description |
START_THREAD@ starts SUB on a new thread and passes the argument PARAM to it as the value of ARG. |
Notes |
If PARAM is a variable that is used to return a value (INTENT(OUT)) then it must "exist" (remain in scope) whilst the thread is running. PARAM and ARG are described here as having type INTEGER(7) but FTN95 will allow the argument to have any matching standard or user-defined type. |
Return value |
START_THREAD@ returns the Microsoft thread handle for the new thread. |
See also |