Anyone know why certain fields in proc.h in Minix are char, when I thought they'd be int?
37 char p_ticks_left; /* number of scheduling ticks left */
38 char p_quantum_size; /* quantum size in ticks */
So, if we want to add a new "int" field should we make it a char?
If
charis big enough to hold all the necessary values, why not use it? Of course,intmay be somewhat more performant, but at the same timecharis usually smaller.I believe you can use any type that makes sense.