lock_state & lock_client::get_lock_state(lock_protocol::lockid_t lid) {
lock sl(lock_table_lock);
return lock_table[lid]; // creates the lock if it doesn't already exist
}
lock_client::lock_client(string xdst, lock_release_user *_lu) : lu(_lu), next_xid(0) {
lock_state & lock_client::get_lock_state(lock_protocol::lockid_t lid) {
lock sl(lock_table_lock);
return lock_table[lid]; // creates the lock if it doesn't already exist
}
lock_client::lock_client(string xdst, lock_release_user *_lu) : lu(_lu), next_xid(0) {