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).

Synchronous query to Web SQL Database

I'm working on a bit of JavaScript that interacts with a client-side SQLite database, via the newish window.openDatabase(...), database.…

javascript sqlite synchronization web-sql
using ThreadStatic variables with async/await

With the new async/await keywords in C#, there are now impacts to the way (and when) you use ThreadStatic …

c# multithreading synchronization async-await
Is there a solution to automatically synchronize Emacs org-mode with one of the web based todo services?

Org-mode is amazing. I like its power and simplicity. However, sometimes I need access to my tasks in places where …

web-services emacs synchronization org-mode
Shared-memory IPC synchronization (lock-free)

Consider the following scenario: Requirements: Intel x64 Server (multiple CPU-sockets => NUMA) Ubuntu 12, GCC 4.6 Two processes sharing large amounts of …

c++ synchronization ipc shared-memory lock-free
What is the most clever and easy approach to sync data between multiple entities?

In today’s world where a lot of computers, mobile devices or web services share data or act like hubs, …

database algorithm mobile synchronization
"StringBuffer is synchronized (or thread-safe) and StringBuilder is not", why does this make StringBuffer methods slower?

After reading this - What does 'synchronized' mean? I was still unable to understand why StringBuffer would be slower than …

java synchronization thread-safety stringbuilder stringbuffer
Does lock() guarantee acquired in order requested?

When multiple threads request a lock on the same object, does the CLR guarantee that the locks will be acquired …

c# .net synchronization locking
VMware time sync problem - ubuntu (guest) on windows 7 (host)

I am running Ubuntu as a guest OS using VMware player on my Windows 7 machine. The problem I have is …

time synchronization vmware
ElasticSearch updates are not immediate, how do you wait for ElasticSearch to finish updating it's index?

I'm attempting to improve performance on a suite that tests against ElasticSearch. The tests take a long time because Elasticsearch …

python elasticsearch synchronization wait polling
Is changing a pointer considered an atomic action in C?

If I have a multi-threaded program that reads a cache-type memory by reference. Can I change this pointer by the …

c multithreading synchronization