Starts a new Thread that runs method on object instance with userdata passed as an argument. Even if no userdata is passed, method must accept one argument and it will be null. The priority of the Thread can be changed by passing a value from the priority enum.
Returns constantOK on success, or constantERR_CANT_CREATE on failure.
Starts a new Thread that runs method on object instance with userdata passed as an argument. Even if no userdata is passed, method must accept one argument and it will be null. The priority of the Thread can be changed by passing a value from the priority enum. Returns constant OK on success, or constant ERR_CANT_CREATE on failure.