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

Own sync adapter for Android?

The press release of Android 2.0 states that the new release supports sync adapters so that emails and calendars cannot only …

android synchronization android-syncadapter
Static versus non-static lock object in synchronized block

Trying to visualize and understand synchronization. What are the differences between using a static lock object (code A)

java static synchronization locking synchronized
Eclipse: Difference between 'Revert' and 'Override and Update'

What is the difference between 'Revert' and 'Override and Update' options from Eclipse (team synchronization - SVN (Workspace) - Outgoing …

java eclipse svn synchronization revert
Singleton with multithreads

This question was asked in an interview. The first part was to write the singleton class: class Singleton { static Singleton *…

c++ multithreading synchronization singleton mutex
Why use StringBuilder? StringBuffer can work with multiple thread as well as one thread?

Suppose our application have only one thread. and we are using StringBuffer then what is the problem? I mean if …

java multithreading synchronization stringbuilder stringbuffer
Difference between Hashtable and Collections.synchronizedMap(HashMap)

As far as I know, java.util.Hashtable synchronizes each and every method in the java.util.Map interface, while …

java collections synchronization hashmap hashtable
std::mutex performance compared to win32 CRITICAL_SECTION

how does the performance of std::mutex compared to CRITICAL_SECTION? is it on par? I need lightweight synchronization object (…

c++ stl synchronization thread-safety mutex
Multi-Threading on different instances of same object in Java

I've learned that every class byte code is been loaded to the memory once for each class loader, thus when …

java multithreading synchronization race-condition
unlocked_ioctl vs normal ioctl

In my driver's file_operations structure, I have: struct file_operations Fops = { read: device_read, write: device_write, unlocked_ioctl: …

c linux synchronization kernel ioctl
what is correspoding feature for synchronized in java?

synchronized in Java can guarantee safety of thread. What about C++? Thank you!

java c++ multithreading synchronization