answersLogoWhite

0

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

13y ago

What else can I help you with?

Related Questions

Why did they make languages?

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


Do threads share global variables?

No, threads do not share global variables by default. Each thread has its own copy of global variables, which means changes made to global variables in one thread do not affect the values in other threads.


What is sound made by a sheep called?

The sound made by a sheep is called "bleating." It is a vocalization used by sheep to communicate with each other, often to signal distress, hunger, or to locate each other.


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.


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


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


What is the sound called that a hog makes?

The sound that a hog makes is called "oinking." It is a low, grunting noise typically made by pigs to communicate with each other.


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.