Top "Locking" questions

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

Understanding Multiprocessing: Shared Memory Management, Locks and Queues in Python

Multiprocessing is a powerful tool in python, and I want to understand it more in depth. I want to know …

python locking multiprocessing python-multiprocessing
How to lock on object which shared by multiple async method in nodejs?

I have one object with different properties in nodejs, there are different async function which access and modify that object …

javascript node.js asynchronous locking critical-section
SELECT LOCK IN SHARE MODE

i have read this article from dev.mysql. in that page is a example that when use select for update …

mysql locking innodb
c# xml.Load() locking file on disk causing errors

I have a simple class XmlFileHelper as follows: public class XmlFileHelper { #region Private Members private XmlDocument xmlDoc = new XmlDocument(); private …

c# xml locking load
Does DynamoDB have locking by default?

I'm looking over the dynamo documentation and it looks like they have optimistic. I'm wondering if this is used by …

locking amazon-dynamodb optimistic-locking
SFTP file lock mechanism

How can I make sure that a file uploaded through SFTP (in a Linux base system) stays locked during the …

locking sftp transfer
Is there a way to keep Airplay running if the device auto-sleeps/auto-locks?

When streaming a video from an iPhone (or any iOS device) to a TV via Airplay, the stream stops as …

ios locking sleep airplay
Is SqlConnection / SqlCommand thread safe?

I am currently creating a WCF web service. As part of its job, it will unfortunately need to do some …

c# multithreading locking thread-safety sqlcommand
SQL atomic increment and locking strategies - is this safe?

I have a question about SQL and locking strategies. As an example, suppose I have a view counter for the …

sql locking atomic increment
Lock vs. ToArray for thread safe foreach access of List collection

I've got a List collection and I want to iterate over it in a multi threaded app. I need to …

c# multithreading foreach locking toarray