linkWithMultiThreadLib Link Option

Syntax: Default:
link(linkWithMultiThreadLib[, yes])
link(linkWithMultiThreadLib, no)
link(linkWithMultiThreadLib, no)

This option determines whether the module being built is linked with the singlethread or multithread version of the VisualAge C++ run-time library. By default, the singlethread version is linked.

This option determines which run-time library is used when you build with link(defaultLibs), and is overridden by link(defaultLibs, no).

All multithread applications and programs that use the Open Class Library require the multithread run-time library.

Take care, when setting this option, that all modules required by applications that use the module being built are compatible. If you link one module with the multithread run-time library, you should link every module used by the same application also the multithread library, so that the application has only one run-time environment.

If you are building a subsystem with link(standAlone), link(linkWithMultiThreadLib, no) is set implicitly.

If you are building a device driver with gen(ring0), link(linkWithMultiThreadLib, no) is set implicitly.



Incremental C++ Build
C Compilation
Configuration Files
Multithreaded Programs


Set Build Options
Build
Choose Your Run-Time Library


Link Options
Link Options