Refactored thread switching code to support compile-time swapping
authorJohn Hodge <[email protected]>
Sun, 3 Oct 2010 10:21:01 +0000 (18:21 +0800)
committerJohn Hodge <[email protected]>
Sun, 3 Oct 2010 10:21:01 +0000 (18:21 +0800)
commitc353842438969359632b8580e903c8faaa525bb2
treef57a655d87b41a81e3a599adc0eb86af8eb07d74
parentb0ab9997c3256041087483c0840247821bfa55c8
Refactored thread switching code to support compile-time swapping
of scheduling methods.
Supported methods:
- Lottery (the old one)
- Priority Based Round-Robin
- Singe Queue Round-Robin
Kernel/arch/x86/proc.c
Kernel/include/threads.h
Kernel/threads.c

UCC git Repository :: git.ucc.asn.au