void Scheduler(void) { tl-pri = current task (RUNNING state)'s priority; t2-pri = highest priority in the Ready list; if (tl-pri < t2_pri) call ContexLSwitch(); else ; /* do nothing */ } (참고사항 CPU, MEMORY, Task-l, Task-2, ... ,Task-n, stack, TCB(Task ControI Block), Priority, Status, Stack Base Address, CPU registers)