|
TAstaVoIPConnection.Lock |
Top Previous Next |
|
Declaration function Lock: Boolean;
Description Lock connection. When any thread wants exclusive use of the connection, it must use this function to gain the mutex. Note this is not a simple mutex to allow for the rather complicated mechanism for preventing deadlocks in associated threads to the connection (eg Q.931 reader thread). Returns FALSE if the lock was not obtainable due to the connection being shut down.
|