Library functions  Error handling

Chapter 3: Monitor Client Library Functions

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:





Copyright © 2005. Sybase Inc. All rights reserved. Error handling

View this book as PDF