locks
comparing databases and their locks
I have heavy transaction stuff going on and would like to gain information about how locks are implemented in current databases. Working on zero budget my choise is limited to mysql 5.5 and postgres 9[详细]
2023-02-14 03:28 分类:问答WaitForSingleObject is not locking, Still allowing other threads to change value in C++
I\'m trying to use WaitForSingleObject(fork[leftFork], Infinite); to lock a variable using multiple threads but it doesn\'t seem to lock anything[详细]
2023-02-13 01:31 分类:问答Locks obtained on instances in java multithreading
I read that the locks in java are obtained on the instance(object) basis (in case of instance method)[详细]
2023-02-12 04:11 分类:问答Composable Locks using LINQ. Can anyone see any problem with this?
I was playing around with LINQ and I came up with the following idea for composing locks taking advantage of C# Monadic syntax. It seems too simple, so I thought let me post it on StackOverflow and se[详细]
2023-02-11 17:35 分类:问答Synchronization in C with system calls
I am doing something a bit weird but i want it fully synchronized. So i thought of asking your help. I have the following:[详细]
2023-02-09 13:56 分类:问答C# Multithreading
Okay. I want to have two threads running. Current code: public void foo() { lock(this) { while (stopThreads == false)[详细]
2023-01-18 01:50 分类:问答Adding locks to the class by composition
I\'m writing thread-safe class in C++. All of its public methods use locks (non-recursive spin locks). Private methods are lock-free. So, everything should be OK: user calls public method, it locks ob[详细]
2023-01-12 06:45 分类:问答Javascript and rendering pauses and stays paused on scroll in the android browser
I\'ve found some wierd behaviour related to scrolling and rendering and javascript. How to make it happen:[详细]
2023-01-03 01:11 分类:问答Why isn't !locks working for me?
I\'m using windbg (the latest available from the MSDN download page). I\'m trying to debug a deadlock in my app, and !locks would be very useful.However, it\'s not working:[详细]
2022-12-30 20:53 分类:问答