Product: | All DBConnectivity Products |
Version: | All |
ID: | 1057 |
Summary: | Support for multi-threading |
DBConnectivity products support multi-threading by using Windows synchronization objects to protect critical sections of the driver. Each API is protected at the beginning of its execution and protection is released before returning the API return value. However, when potentially long operations are requested from the database server, locks are released to allow other APIs to start execution. This is efficient because when the database server is processing requests, the client machine is free to process further API calls from other threads.