| Author |
plz i need an urgent answer
|
tania khan
Greenhorn
Joined: Feb 05, 2002
Posts: 2
|
|
|
in threads what is preemptive multitasking? can anyone explain?
|
 |
Peter den Haan
author
Ranch Hand
Joined: Apr 20, 2000
Posts: 3252
|
|
It means that a thread will be forced to relinquish its control of the CPU so that other threads can run. Without pre-emptive multitasking, "greedy" threads may prevent other threads from running. A greedy thread is a thread that doesn't do any I/O and doesn't call yield(). - Peter [ February 28, 2002: Message edited by: Peter den Haan ]
|
 |
 |
|
|
subject: plz i need an urgent answer
|
|
|