Most voted "lock" questions
7 questions
Sort by count of
-
6
votes2
answers7324
viewsWhat is a lock and what are its causes?
I often come across the term: Table x is with lock. What it means and what its causes?
-
4
votes1
answer105
viewsLock optimistic; why not fire exception?
I tried to simulate an optimistic Lock situation where one tries to update the same record twice, but the excesses are not triggered. I find it interesting is that even after changing the value of…
-
4
votes1
answer376
viewsWhat is Multi-version Concurrency Control in Postgresql?
What is Multi-version Concurrency Control (MVCC) in Postgresql and how it works?
-
1
votes1
answer1629
viewsPutting password in a python file
I’m making a program in which you select the file you want to lock using a password by clicking on a button that file is locked with a user-defined password. How can I make this file only be…
-
1
votes2
answers186
viewsHow does Java sync work?
What’s the advantage of having two threads, which run at the same time but which one waits for the other to be completed to be executed? When using the SYNCHRONIZED keyword in a JAVA application…
-
1
votes0
answers145
viewsConcurrent programming
Hello, I’m having trouble finding the error in the code below. It is a problem where ideally, having 5 vacancies available, any one of the types of threads (server or trainee) can be sit freely, but…
-
0
votes0
answers122
viewsTransaction with Laravel
DB::connection('gtsql')->beginTransaction(); $seriefat = DB::connection('gtsql')->table('se_seriefat') ->where('c_codserie', 'FO')->first(); echo $seriefat->c_numultdoc; sleep(15);…