Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

LM-X can be used with multithreaded applications.

You can, by By default, you can access the LM-X API from multiple threads simultaneously. However, this default behavior may not always be sufficient.  

For example, you might have a situation in which one of two threads that call LMX_Checkout() could fail. If you subsequently wish to print out the last error message with LMX_GetErrorMessage(), the results may have been updated by the second LMX_Checkout() call.  

To avoid such cases, you can use your own mutual exclusion to provide the necessary synchronization. 

However, note that simultaneously calling two In most cases, you can simultaneously call multiple functions with the same LM-X handle could cause undesired behavior. Also, you should not create multiple . If there is an error, LM-X handle instances. Some information will be shared between multiple instances, which can result in undesired side effectswill return LMX_API_NOT_REENTRANT.