Java dispatch thread doesn't yield on active requests

Last reviewed: 2/09/2003

PRB Article ID: P020301

The information in this article applies to:

  • SpeechKit 3, 4


The Java dispatch thread that handles dispatching requests through the JNI consumes CPU during active requests. The thread sleeps when idle.


In SpeechKit 3, the Win32 dispatch flag always indicated a run state during active requests. In SpeechKit 4, the Java dispatch thread did not rely on a Win32 flag and used Java thread yield instead.


The Java dispatch thread in both versions now sleeps properly during active and inactive states.

Fixed and SpeechKit 3 speechkit.jar available for download and deployment for licensed SpeechKit 3 developers.

Fixed in SpeechKit 4 build

Component Formats Impacted