IBM User Guide for Java V7 on Windows > Troubleshooting and support > Using diagnostic tools > Using the Reliability, Availability, and Serviceability Interface > API calls provided by JVMRI



CreateThread

int CreateThread( JNIEnv *env, void JNICALL (*startFunc)(void*),  
					 void *args, int GCSuspend)

Description
Creates a thread. A thread can be created only after the JVM has been initialized. However, calls to CreateThread can be made also before initialization; the threads are created by a callback function after initialization.
Parameters

  • A valid pointer to a JNIEnv.
  • Pointer to start function for the new thread.
  • Pointer to argument that is to be passed to start function.
  • GCSuspend parameter is ignored.

Returns
JNI Return code JNI_OK if thread creation is successful; otherwise, JNI_ERR.


Parent: API calls provided by JVMRI








Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.