IMPORTANT!
You must ensure that any user validation package you create using the User Validation API is threadsafe. This is because within each TIBCO iProcess Engine process, multiple threads may call the User Validation API interfaces during normal TIBCO iProcess Engine operation.
To ensure that your user validation package is threadsafe, make sure that you adhere to the following guidelines:
|
•
|
Make sure that any modules in your user validation package that use User Validation API interfaces use threadsafe code. |
|
•
|
Use mutual exclusion locks (mutexes) to prevent multiple threads from simultaneously executing any critical sections of code that are not threadsafe, but that access shared data. |
|
•
|
When you build the user validation package, make sure that you use the appropriate flags (for your chosen operating system and compiler) to link the application using threadsafe libraries. |
Deploying a non-threadsafe user validation package can cause TIBCO iProcess Engine processes to fail.
|