Threading build time considerations

Consideration of the threading needs to be made both when setting up the environment to build your application and when designing the application. The build environment setup requires is described here, information on the application design considerations is provided in Threading application design considerations.

The underlying JVM has an implementation of threading. The C runtime used is selected to match the type of threading employed by the JVM. Under JDKs for the Windows platform, the Microsoft C Runtime is used, in particular the MultiThreaded DLL version. The debug version should be used for debug builds.

Failure to use the same Runtime as the JVM may result in application failures, typically with memory management due to different heaps being employed.



© IBM Corporation 2000, 2003. All Rights Reserved