comparison kernel/process.c3 @ 306:b145f8e6050b

Start on c3 rewrite
author Windel Bouwman
date Mon, 09 Dec 2013 19:00:21 +0100
parents 6753763d3bec
children
comparison
equal deleted inserted replaced
305:0615b5308710 306:b145f8e6050b
11 11
12 // Or, use this list structure: 12 // Or, use this list structure:
13 // List<process_t> procs; 13 // List<process_t> procs;
14 14
15 // init is the root of all processes: 15 // init is the root of all processes:
16 var process_t* init_pid = 0; 16 var process_t* init_pid;
17 var int next_pid = 0; 17 var int next_pid;
18 18
19 function void init() 19 function void init()
20 { 20 {
21 next_pid = 0; 21 next_pid = 0;
22 init_pid = Create(); 22 init_pid = Create();