0 votes
in JAVA by
What do you understand by inter-thread communication?

1 Answer

0 votes
by

Below are the details of inter-thread communication

  • The process of communication between synchronized threads is termed as inter-thread communication.
  • Inter-thread communication is used to avoid thread polling in Java.
  • The thread is paused running in its critical section, and another thread is allowed to enter (or lock) in the same critical section to be executed.
  • It can be obtained by wait(), notify(), and notifyAll() methods.

Related questions

0 votes
asked Dec 16, 2020 in JAVA by SakshiSharma
0 votes
asked Jun 8, 2020 in HDFS by Robindeniel
...