What is Thread
I wanted to know, what ia thread
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Posted Jul 27, 2007, 6:27 AM EDT
AlanRank #669 · 3.6K reputationPosted Jul 27, 2007, 7:20 AM EDT
It's possible for a program (or 'process' as its technically called) to do not just one task but several tasks simultaneously. Each of these tasks are called 'theads of execution' or 'threads' for short.
Of course, unless your system has several processors, this notion of several threads running simultaneously is an illusion because a single core processor can only do one thing at a time. The operating system creates this illusion by switching between the different theads according to certain rules but this generally happens so fast that the user of the program is unaware of it.
Munir ShaikhRank #472 · 5.3K reputationPosted Aug 1, 2007, 2:11 AM EDT