MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / internal_dequeue

Method internal_dequeue

src/lock/lock.cpp:2567–2587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2565
2566
2567void LockManager::internal_dequeue(SRQ_PTR request_offset)
2568{
2569/**************************************
2570 *
2571 * i n t e r n a l _ d e q u e u e
2572 *
2573 **************************************
2574 *
2575 * Functional description
2576 * Release an outstanding lock.
2577 *
2578 **************************************/
2579
2580 // Acquire the data structure, and compute addresses of both lock
2581 // request and lock
2582
2583 lrq* request = get_request(request_offset);
2584 post_history(his_deq, request->lrq_owner, request->lrq_lock, request_offset, true);
2585 request->lrq_ast_routine = NULL;
2586 release_request(request);
2587}
2588
2589
2590USHORT LockManager::lock_state(const lbl* lock)

Callers

nothing calls this directly

Calls 1

release_requestFunction · 0.50

Tested by

no test coverage detected