Quote:
And do you have any manuals about this part, I want to study more
detailed. |
This is really an implementation detail that isn't covered in our
documentation.
However, if you have a Berkeley DB source tree, look at
__lock_get_internal in lock/lock.c. You will see that there are
holding and waiting queues, and requests are put onto one of those
queues depending on whether the locks conflict.
I think the best reference book to read for this area is still Jim
Gray's "Transaction Processing: Concepts and Techniques".
Regards,
Michael.