Threads

Two threads cannot use Monitor Client Library functions at the same time. Use a global lock (semaphore) on Monitor Client Library calls to avoid any thread overwrites or unpredictable actions.

Monitor Client Library functions are not protected from reentrant invocation. Use the following special programming considerations when using these functions in a multithreaded environment. Be sure that: