• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Locking.....

 
Kaz Yosh
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Please, some one tell me how the Lock Manager works.
Thanks.
 
Kaz Yosh
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Here's more specific question.

If there are only lock and unlock method in the DB interface, how can I make readlock and writelock?
Thanks.
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Kaz,

You should not need a read lock. Multiple simultaneous reads are allowed. All you need is a write lock.

Perhaps you could explain why you think you need a read lock, and we can suggest ways of handling it?

Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic