Top "Locking" questions

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

Mutex lock: what does "blocking" mean?

I've been reading up on multithreading and shared resources access and one of the many (for me) new concepts is …

multithreading locking thread-safety mutex blocking
View isolation level for a query in mysql

How do I determine the isolation level in use for a given query? After a query is executed (by a 3…

mysql entity-framework-4 locking isolation-level
Why can't we lock on a value type?

I was trying to lock a Boolean variable when I encountered the following error : 'bool' is not a reference type …

c# multithreading locking reference
should LOCK_EX on both read & write be atomic?

file_put_contents ( "file", "data", LOCK_EX ) for writing (which means - aquire lock and write) file_get_contents ( "file", …

php locking blocking atomic atomicity
How perform SQLite query with a data reader without locking database?

I am using System.Data.Sqlite to access SQLite database in C#. I have a query which must read through …

c# locking sqlite system.data.sqlite
Locking strategies and techniques for preventing deadlocks in code

The common solution to preventing deadlock in code is to make sure the sequence of locking occur in a common …

c++ design-patterns locking deadlock
Multiple access to a single SQLite database file via System.Data.SQLite and c#

As I can read from SQLite FAQ it supports multiple processes reading (SELECT) and only one process writing (INSERT, UPDATE, …

c# database sqlite locking system.data.sqlite
How to find what state ManualResetEvent is in?

I am using an instance of ManualResetEvent to control thread access to a resource but I'm running into problems with …

.net multithreading locking
Difference between class locking and object locking in Java

People tell about two types of multi-threaded locking - object and class. In my knowledge, locking is done on objects …

java multithreading locking thread-synchronization
Locking the Fields in MFMailComposeViewController

Is it possible to somehow lock the fields in an MFMailComposeViewController so that the body, recipients etc cannot be changed …

iphone ios email locking mfmailcomposeviewcontroller