Why do we use thread in sleep?



Why do we use thread in sleep?..

Answer / Saurabh Agarwal

Threads are used in sleep to allow other threads within a process or multiple processes to execute and utilize the CPU resources while one thread is temporarily idle. This can help improve system performance by allowing concurrent tasks.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Threads Interview Questions

Why do we use thread in sleep?

1 Answers  


Explain each system calls used for process management in linux.

1 Answers  


How many threads can you run?

1 Answers  


Whats better threading or waxing?

1 Answers  


Is threading harmful?

1 Answers  


Can we overload run method of thread?

1 Answers  


An extended partition can contain many sub partitions called_______

7 Answers  


How do I start a runnable thread?

1 Answers  


How many threads can jvm handle?

1 Answers  


What are the differences between user level threads and kernel threads?

1 Answers  


What do cpu threads do?

1 Answers  


What is difference between processes and threads?

1 Answers  


Categories