Top "Synchronization" questions

Synchronization refers to using controls to maintain a coherent representation, either a group of processes running the same program (process synchronization), or representations of data (data synchronization).

How to find that Mutex in C# is acquired?

How can I find from mutex handle in C# that a mutex is acquired? When mutex.WaitOne(timeout) timeouts, it …

c# synchronization pinvoke mutex handle
How Does the Network Time Protocol Work?

The Wikipedia entry doesn't give details and the RFC is way too dense. Does anyone around here know, in a …

time synchronization ntp
Howto synchronize file access in a shared folder using Java (OR: ReadWriteLock on network level)

I have multiple applications running in one virtual machine. I have multiple virtual machines running on one server. And I …

java synchronization file-access
Need synchronization for an increment-only counter?

I use an integer as counter. The integer will only be increased, and surely more than one thread will increase …

java synchronization counter increment
Difference between mutual exclusion and synchronization?

What is the difference between above two? This question came to my mind because I found that Monitors and locks …

concurrency synchronization mutual-exclusion
Implementing a critical section in CUDA

I'm trying to implement a critical section in CUDA using atomic instructions, but I ran into some trouble. I have …

cuda synchronization locking critical-section
Is Critical Section always faster?

I was debugging a multi-threaded application and found the internal structure of CRITICAL_SECTION. I found data member LockSemaphore of …

c++ winapi synchronization critical-section
Atomic Instruction

What do you mean by Atomic instructions? How does the following become Atomic? TestAndSet int TestAndSet(int *x){ register int …

language-agnostic synchronization nonblocking atomicity test-and-set
Synchronizing 2 processes using interprocess synchronizations objects - Mutex or AutoResetEvent

Consider the following scenario: I'm running my application which, during its execution, has to run another process and only after …

c# .net synchronization pinvoke mutex
Using string as a lock to do thread synchronization

While i was looking at some legacy application code i noticed it is using a string object to do thread …

c# multithreading synchronization mutex