Freigeben über


Recognizer Threading Considerations

Recognizer Threading Considerations

A recognizer context will not be accessed on two threads simultaneously by the Tablet PC platform, with the exception that 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