Recognizer Threading Considerations

Although a recognizer context cannot be accessed on two threads simultaneously by the Tablet PC platform, the AdviseInkChange function can be called at any time on any thread. Because the Tablet PC platform does not ensure that there is only one recognizer context at a time, two separate recognizer contexts in separate threads may simultaneously attempt to access your recognizer. Therefore, global variables in your recognition engine must be thread-safe.

Word lists are an optional implementation used to increase accuracy. If your recognizer implements word lists, it must be thread-safe. For more information about using word lists, see Using Application Dictionaries.

For details about other threading considerations, see Tablet PC Threading Considerations.