answersLogoWhite

0

Synchronization in java

User Avatar

Anonymous

15y ago
Updated: 8/16/2019

Threads communicate primarily by sharing access to fields and the objects reference fields refer to. This form of communication is extremely efficient, but makes two kinds of errors possible: thread interference and memory consistency errors. The tool needed to prevent these errors is synchronization.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

What is data binding in java?

Data binding is basically a technique for binding two data/information sources together and maintaining a synchronization of data.You usually achieve this with two data/information sources with different languages as in XML data binding or in fact using Java, Java UI elements to Java objects.


What is synchronize in java?

Synchronization is a feature by which only one thread can access a resource in a particular time of instance. No other thread can interrupt for that resource. In java to make our method synchronize we use synchronized keyword with that method. So Synchronization is just managing the resources among Threads. Vijai Shanker Just to add with the invent of Java 5 we have more option to write synchronized code in Java instead of using synchronized keyword we can use Lock Classes available in concurrency package.


When was Transactional Synchronization Extensions created?

Transactional Synchronization Extensions was created in 2012.


Why current is not concidered while synchronization?

current is load dependent,after synchronization only current will flow


What are examples of synchronization?

SONET


Explain why interrupts are not appropriate for implementing synchronization?

Because they are completely unrelated things? Synchronization can be implemented with semaphores or mutexes.


What do you mean by synchronization in operating system?

synchronization mean arrange all process in sequence for that not occured no colusion in the system.


What is dfference between synchronization and asynchronization in java with example?

synchornisation is the process where more than one thread can be accessed by accesssing the shared object of the class.By syncornisation we can have the communication between threads.if one thread works then another thread automatically stops


What is synchronization in Unix?

well first off, im not an expert. but for what i know its something like this. synchronization is like keeping access to shared data with locks. learning threads might be good for you to somewhat get a grasp of what synchronization is about.


Which option for scheduling the synchronization of an offline web page can you specify using the Scheduled Synchronization Wizard?

At specific times you define


Is the goal of cycle synchronization achievement of planned time performance?

The goal of cycle synchronization is achievement of planned time performance


Synchronization in operating system?

Synchronization in an operating system refers to the coordination of the events in order to operate a given operating system.