version 1.179.8.1.4.4, 2019/02/01 11:08:56 |
version 1.179.8.1.4.5, 2019/02/24 10:54:36 |
Line 1141 dosetitimer(struct proc *p, int which, s |
|
Line 1141 dosetitimer(struct proc *p, int which, s |
|
pt->pt_type = which; |
pt->pt_type = which; |
pt->pt_entry = which; |
pt->pt_entry = which; |
pt->pt_queued = false; |
pt->pt_queued = false; |
if (pt->pt_type == CLOCK_REALTIME) |
if (!CLOCK_VIRTUAL_P(which)) |
callout_init(&pt->pt_ch, CALLOUT_MPSAFE); |
callout_init(&pt->pt_ch, CALLOUT_MPSAFE); |
else |
else |
pt->pt_active = 0; |
pt->pt_active = 0; |