The thread setting and execution mode (re-entrant vs non re-entrant) are set in the VI properties, under execution.
Re-entrant means that the OS (Or the LVRTE) can stop the VI's execution, switch to another thread, switch back, and the VI should continue as normal. Non-reentrant means the VI has to finish execution before such context switch happens, otherwise bad things (tm) happen.