60 | | Our scheduling policy, given N CPUs, is: |
61 | | |
62 | | * Given a set of runnable applications A1, A2 (ordered by priority or deadline), run applications until the number of actual threads exceeds N. |
| 60 | Given a list of runnable applications (ordered by priority or deadline), |
| 61 | the CPU scheduler runs applications until the number of threads reaches a limit. |
| 62 | If the user has specified a limit N on the number of CPUs to use, |
| 63 | the number of threads cannot exceed N. |
| 64 | Otherwise, the scheduler stop when the number of threads is >= NCPUS. |