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
64 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,260 points
3,060 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,260 points

edited Jun 14, 2019 by sunshine 106 views
0 votes
0 answers

why linux is more secure than windows?

which features make linux more secure than ...READ MORE

Jul 11, 2018 in Others by kristena1234
• 160 points
65 views
0 votes
1 answer

why linux is more secure than any other operating system?

First thing i would like to tell ...READ MORE

answered Jul 11, 2018 in Others by kristena1234
• 160 points
624 views
0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 21, 2018 in Others by Frankie
• 9,810 points
229 views
0 votes
1 answer

What is the difference between Runnable and extends Thread

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

answered Apr 30, 2018 in Java by sharth
• 3,370 points
236 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,150 points
185 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
253 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,590 points
440 views