Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1683 → Rev 1684

/kernel/trunk/generic/src/proc/task.c
436,7 → 436,7
klog_printf("Cleanup of task %lld completed.", TASK->taskid);
}
 
/** Kernel task used to kill a userspace task when its main thread exits.
/** Kernel thread used to kill the userspace task when its main thread exits.
*
* This thread waits until the main userspace thread (i.e. uninit) exits.
* When this happens, the task is killed. In the meantime, exited threads
/kernel/trunk/arch/ia32/src/smp/apic.c
227,8 → 227,11
l_apic[ICRlo] = icr.lo;
 
icr.lo = l_apic[ICRlo];
if (icr.delivs == DELIVS_PENDING)
if (icr.delivs == DELIVS_PENDING) {
#ifdef CONFIG_DEBUG
printf("IPI is pending.\n");
#endif
}
 
return apic_poll_errors();
}
267,11 → 270,15
*/
delay(20);
 
if (!apic_poll_errors()) return 0;
if (!apic_poll_errors())
return 0;
 
icr.lo = l_apic[ICRlo];
if (icr.delivs == DELIVS_PENDING)
if (icr.delivs == DELIVS_PENDING) {
#ifdef CONFIG_DEBUG
printf("IPI is pending.\n");
#endif
}
 
icr.delmod = DELMOD_INIT;
icr.destmod = DESTMOD_PHYS;