What is threading concept?
please define threading concept in asp.net?
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
Guest UserRank #1,422 · 1.2K reputationPosted Apr 15, 2011, 5:08 AM EDT
http://msdn.microsoft.com/en-us/library/6kac2kdh%28v=VS.90%29.aspx
Mayur GujrathiRank #666 · 3.6K reputationPosted Apr 15, 2011, 5:28 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 15, 2011, 4:08 PM EDT
VulpesRank #55 · 29.2K reputationPosted Apr 16, 2011, 2:51 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 16, 2011, 10:50 AM EDT
Threads existed in Windows even when it was 16-bits and ran under DOS and used processes that did not support virtual memory. 16-bit Windows did not have preemptive (pre-emptive) multitasking but it did have multitasking. Preemptive multitasking means that the operating system can interrupt a program while the program is doing something. Threads have existed in operating systems for over half a century, although many operating systems call them something else; the most common other term is "task". Threads have been used extensively in systems with a single core/processor.
Although threads are usually described as providing concurrency, their original main purpose is to provide asynchronicity. Asynchronicity means that something can happen at any time and the computer needs to deal with something that happens unexpectedly. A common asynchronous event is IO, such as disk IO. When a program copies a file from one disk drive to a different drive, the program can execute twice as fast if it does the IO asynchronously. There would very little advantage to asynchronous IO if the file is copied from and to the same physical drive. Another example of an asynchronous event is windows; more specifically, people. If a program with a UI (graphical or textual as in a console) needs to do some processing independent of the UI, then usually a thread is used for the other (background) processing. Another example of an asynchronous event is inter-system communication (communication between systems); tasks are useful even for intra-system communication (communication between processes).