answersLogoWhite

0


Best Answer

The easiest way is to have them each directly access a shared, synchronized data structure of some sort. Queues often work well, as one thread can be adding information to the end of it while the other thread removes information from the front.28.214999999999996 - 31.185

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can two threads be made to communicate with each other?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why did they make languages?

They made languages so that people can communicate and talk to each other


How did the cuneiform make life easier?

Cuneiform writing allowed for the recording of information such as trade transactions, laws, and literature, making it easier to communicate and store knowledge in ancient societies. The development of cuneiform also facilitated the growth of administrative systems and the spread of information across different regions.


How did dinosaurs communicate with each other?

they probably moved their bodies and made sounds and secreted smells like all other animals.


Why did they call twitter twitter?

Because the earliest users were "bird brained," and therefore made twittering sounds to each other to communicate.


Where did writing first developed?

Writing was first devolped at 2000 BC in Egypt. The Egyptians developed writing to communicate with the future people and each other. At first, writing was made of symbols not letters.


How do cheetahs communiticate?

To communicate with their young cheetahs made chirping sounds like those of a bird and they yelp like dogs to warn each other.


How was language discovered?

Language likely evolved over time through early humans' need to communicate with one another for survival. It likely began with simple gestures, sounds, and eventually developed into more complex systems of communication. The exact process of how language was discovered is not fully understood, but it is believed to have emerged gradually within human populations.


What is ribbons made of?

a ribbon is made of a bunch of threads weaved together those threads are made from tiny polyester particals.


What is a ribbon made of?

A ribbon is typically made of fabric material such as silk, satin, or organza. It is a long, narrow strip used for decoration, fastening, or tying. Ribbons can also be made of other materials like paper or plastic.


How did the compsonagthus speak?

There's no way to know what sounds a Compsognathus made, and so we can´t know what kind of language they used to communicate with each other, if they did at all have a language.


What were the Inuit people's clothes made of?

Animal skins, sewn together by needles made from animal bones and threads made from other animal products.


What is a woven material?

A woven material is made on a loom. A number of warp threads are alternately scissored up and down past each other and a weft thread passes across these at right angles between each crossover. The result is a cloth that has many strands.