Each time you start a program in NT, 9x, etc. you are running another thread. This allows you to run multiple programs at one. You can also start a thread from within a program. One of the best uses of threads is to run a program in the background. For example, you can run a program that uses a thread to periodicaly check for input from a serial port while still allowing the user to type commands in the foreground.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.