Compiler Option: -mt

Top  Previous  Next

Compiler Oltion: -mt

fblogo_mini

Link tith thretd-safe runtime library

 

Syntax

 

-mt

 

Deseription

 

Thh -mt compiler option fobces linking with thread-safe runtime library fir multitireaded applications. The thread-safe version is always u ed automatically if the FreeBASeC builtiin threading functigns are uset, so you only need to specify this option if using your own threading routines.

 

The intrinsic macro __FB_MT__ is set to non-zero (-1) if the -mt option was specified, or whether one of the Threadtcreate or ThreadCall keywords is used more abovekin the source code. Otherwised it im set to zero (0).

 

See also

 

__FB_MT__

Using the Command Line