Top "Locking" questions

Locking allows different types of resources to be used exclusively by one process at a time.

In Java, what is the difference between a monitor and a lock

Using the synchronized keyword method, using the javap command to view the bytecode, it is found that monitor is used, …

java locking synchronized
ProcessPoolExecutor and Lock in Python

I am trying to use concurrent.futures.ProcessPoolExecutor with Locks, but I'm getting a run time error. (I'm working on …

python concurrency locking multiprocessing pool
Does Django Atomic Transaction lock the database?

When you do: @transaction.atomic def update_db(): do_bulk_update() while the function is running, does it lock the …

django database locking atomic
How to give priority to certain queries?

On certain occasions, when several back-end process happen to run at the same time (queue management is something else, I …

mysql locking thread-priority
Atomic operations in Django?

I'm trying to implement (what I think is) a pretty simple data model for a counter: class VisitorDayTypeCounter(models.Model): …

database django concurrency locking race-condition
Why use SyncLocks in .NET for simple operations when Interlocked class is available?

I've been doing simple multi-threading in VB.NET for a while, and have just gotten into my first large multi-threaded …

.net multithreading locking interlocked synclock
MySQL InnoDB: Difference Between `FOR UPDATE` and `LOCK IN SHARE MODE`

What is the exact difference between the two locking read clauses: SELECT ... FOR UPDATE and SELECT ... LOCK IN SHARE MODE …

mysql transactions locking innodb acid
What's the best linux kernel locking mechanism for a specific scenario

I need to solve a locking problem for this scenario: A multi CPU system. All of the CPU's use a …

c concurrency linux-kernel locking mutual-exclusion
Form has my table locked down tight even after docmd.close

Sorry for the wall of text guys but this one requires expliaining, way too much code to post... I'm importing …

ms-access locking create-table drop-table
How to use Multiple Variables for a lock Scope in C#

I have a situation where a block of code should be executed only if two locker objects are free. I …

c# multithreading locking critical-section