what is thread? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

what is thread?

how to use thread

12th Nov 2016, 7:42 AM
Х. Галт
Х. Галт - avatar
2 Answers
+ 3
Well if you are for example talking about Java, Every program runs in a thread. Now you can split your program into multiple threads to make it run better. Therefore you need to start a new thread. Look into the last session of the Java course. There you can see the exact syntax
12th Nov 2016, 1:16 PM
ein siedler
ein siedler - avatar
+ 2
Threads are "light-weight" processes. They share the resources of their "father" process, executing their instructions at the same time and independently. How to use them depends on what language are you using for coding.
12th Nov 2016, 1:15 PM
Gleb Golov
Gleb Golov - avatar