Why is the result distorted when we use threads

+1 vote
How do threads work ?
Jun 6, 2019 in Others by Fata
• 1,050 points
689 views

1 answer to this question.

+1 vote
A thread is basically a part of a process which is set up to achieve a particular task. All threads in a process have independent tasks and work simultaneously to achieve them. Many a times, the output is distorted when working with threads and this is because both threads work simultaneously and throw the output. However, this does not effect the functionality of the software because both the results are independent to each other.
answered Jun 6, 2019 by Nisa
• 1,090 points

Related Questions In Others

0 votes
1 answer

Why do we use Body-parser in Node.js?

For understanding this first you need to ...READ MORE

answered May 20, 2019 in Others by sunshine
• 1,300 points
7,669 views
0 votes
1 answer

Why and when to use Node.js?

The major reason why they are going ...READ MORE

answered Jun 14, 2019 in Others by sunshine
• 1,300 points

edited Jun 14, 2019 by sunshine 755 views
0 votes
1 answer

Why is just an ID in the URL path a bad idea for SEO?

yes it affects the click through rates ...READ MORE

answered Feb 20, 2022 in Others by narikkadan
• 63,420 points
310 views
0 votes
0 answers
0 votes
1 answer

What is the difference between Runnable and extends Thread

Runnable is the preferred way to create ...READ MORE

answered May 1, 2018 in Java by sharth
• 3,370 points
906 views
0 votes
1 answer

How to kill a thread in Java?

You can use a shared variable as ...READ MORE

answered Jun 6, 2018 in Java by Akrati
• 3,190 points
973 views
0 votes
1 answer

How to stop the Thread in Java?

Use a flag, which will indicate the ...READ MORE

answered Jun 11, 2018 in Java by Parth
• 4,630 points
1,277 views
0 votes
1 answer

Refactoring multi thread program on raspberry pi with sensors

Before re-engineering your application, you should narrow ...READ MORE

answered Sep 11, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,644 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP