answersLogoWhite

0

Synchronization is the process by which, access to the objects by threads are controlled and at at time only one thread can access an object. This is done to ensure that there are no dirty read/write operations. If multiple threads access the same data simultaneously, we may end up with inconsistent data. To avoid it, we place such code in synchronized blocks/methods to ensure integrity of data.

Inter thread communication is the process by which java threads can communicate with one another. They communicate to one another through some commands like wait, notify, notifyall etc.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

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 the difference between thread and virus?

A virus runs in a thread, as do all programs. The difference between a generic thread and a virus is that the thread may not be harmful, while the virus generally is.


How does thread synchronization occur in a monitor?

by using synchronized class


What is the difference between a thread and post?

In computing terms - A 'thread' is a topic of discussion, and a 'post' is a response to the 'thread'.


What is thread synchonisation in os?

The thread synchronization is done for sharing of a common resource, to find the no. of resources in use, its count ,maximum resources in use... To establish this the various synchronization tools used are.. Events Waitable Timer


Synchronization in java?

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.


Is thread as used by Intel in their marketing for Hyper-Threading Technology same as the thread that is talked about when discussing the difference between a process and a thread?

No.


What is the difference between rope and string?

The difference between thread rope and string is that thread is more thicker than string and that string is more thinner than rope and thread is more thinner than rope there's your answer geese


What is the difference between shared memory and thread?

Shared memory and thread are not compareable since both of them relies to different technologies. A Shared memory is one of the methods to implement interprocess communication or IPC, by which different processes or tasks can access the same memory area, to share data between them. A thread or thread of execution is a mechanism by which a process can be split in to multiple simultaneously running pieces of code.


What is the difference between process and thread?

Basically no difference, except that process can use many threads; thread can use only one.


What is the difference between a right hand thread and a left hand thread?

A right hand thread tightens by turning clockwise, while a left hand thread tightens by turning counterclockwise.


What is difference between thread based and use based strategies for integretion testing in object - oriented methodology?

difference b/w thread based and use based testing

Trending Questions
Why are gui interfaces widely used? What is a awkward name for computer parts? What is the half way point between Colorado Springs CO and Greene IA? What equals 1 quart? Kindle or Sony reader? Thats my scenario suppose i got victims external ip but with that ip 80 computers connected through it and i want to do trojan attack in that specific ip which my target is using so how can i do that? You work with a minority-owned vendor whom you want your cardholders to use when they order office supplies. Which option is your best option to ensure your cardholders select this vendor? How many languages SAP support? Do you have to dilute or heat 2 percent milk when feeding to a baby mouse? Which slideshow tool is used to automatically apply changes to all of the slides in a presentation? Is Cydia on the App Store? What does it's mean in Grammar? Give commonly use tools and equipment in hardware servicing? What three OS files are necessary to boot in MS DOS mode What is the function of each What additional two files are not required but are used if they are present? Does a screen tip appear automatically based on tasks you perform and contains commands related to changing the appearance of text in a document? Was VisiCalc one of the main reasons for the rapid increase in PC sales? How can you fix your computer every time you go to install something it says invalid directory? Convert metric tons to liter? Does an iPad use chips? When you reboot your computer do you lose any information?