INF: DB-Library Reentrancy and User-Defined Error HandlersID: Q105749
|
Page 45 of the Microsoft SQL Server Programmer's Reference for C states:
Protect error and message handling functions installed by dberrhandle and dbmsghandle. These are global to the entire DB-Library application, and should therefore be protected with a separate synchronization object to avoid colliding with the protection around certain DB-Library calls.
It is only necessary to serialize access within the error and message
handlers if non-thread local data or resources are accessed during error
or message handling.
If the error and message handlers are written to be fully reentrant,
there is no need to protect these functions with synchronization
objects.
Additional query words: DB-Library dblib multiple re-entrancy dblib
Keywords : kbprg SSrvDB_Lib SSrvProg
Version : 4.2
Platform : OS/2 WINDOWS
Issue type :
Last Reviewed: March 17, 1999