Initializing help system before first use

jvmdetachthread

jvmdetachthread


Purpose
Detach the current thread from the Java virtual machine
Synopsis
procedure jvmdetachthread
Further information
1. This reverses the action of jvmattachthread.
2. When using jvmattachthread, you must call jvmdetachthread to explicitly detach the thread from the JVM before the end of the model. If you do not call jvmdetachthread, the Java thread will persist until the JVM is unloaded. You will see a warning written to the model's error stream if you forget to do this.
3. If you called jvmattachthread multiple times from the same system thread, you must call jvmdetachthread a corresponding number of times.
4. If this is called from a thread not persistently attached to the JVM, the model will terminate with a runtime error.
Related topics

© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.