0
What is the use of threads ?
I didn't quite understand why we use it
3 Answers
0
Threads allow the computer to be sent information in a faster, cleaner manner. Multi threading speeds up programs.
0
threads are light weight processes they share memory address with other threads and requires less resources
0
Threads are used to let your program utilize several CPU cores or let your program run multiple tasks in parallel. If you have a quad-core processor, you can use all 4 cores by using 4 threads to carry out tasks for you. (Note that you have to split up your program and run different parts of your program in each thread in order to use this advantage)