HI,
i want to know what is the defintion of multithreding
thanks a lot...
Printable View
HI,
i want to know what is the defintion of multithreding
thanks a lot...
It is the "simulation" of more then one task in an application beeing done at the same time.
Like in a game. If you play over the internet, you don't want to first wait untill your machine can draw the whole screen and then get the user input from the others over the internet. That will take too much time, so in stead of waiting for that, you run a separate thread that "harvests" the info from the internet connection while the other thread draws on the screen.
The computer can't really do two things at the same time, so what it really does is switching between the two tasks really fasts. Something that is called context change. This will switch between the two tasks so fast, that for the user it looks like both things are done at the same time.
- ØØ -