Mercurial > lcfOS
comparison kernel/schedule.c3 @ 301:6753763d3bec
merge codegen into ppci package
author | Windel Bouwman |
---|---|
date | Thu, 05 Dec 2013 17:02:38 +0100 |
parents | 9417caea2eb3 |
children | 2e7f55319858 |
comparison
equal
deleted
inserted
replaced
300:158068af716c | 301:6753763d3bec |
---|---|
1 | 1 |
2 module scheduler; | 2 module scheduler; |
3 | 3 |
4 import process; | |
5 | |
6 var process:process_t *current; | |
7 | |
4 function void executeNext() | 8 function void executeNext() |
5 { | 9 { |
6 process_t *old; | 10 var process:process_t *old; |
7 | 11 |
8 if (old != current) | 12 if (old != current) |
9 { | 13 { |
10 execute(current); | 14 //execute(current); |
11 } | 15 } |
12 } | 16 } |
13 | 17 |