Changeset View
Changeset View
Standalone View
Standalone View
sys/kern/sys_process.c
Show First 20 Lines • Show All 1,088 Lines • ▼ Show 20 Lines | sendsig: | ||||
* Unsuspend all threads. To leave a thread | * Unsuspend all threads. To leave a thread | ||||
* suspended, use PT_SUSPEND to suspend it before | * suspended, use PT_SUSPEND to suspend it before | ||||
* continuing the process. | * continuing the process. | ||||
*/ | */ | ||||
PROC_SLOCK(p); | PROC_SLOCK(p); | ||||
p->p_flag &= ~(P_STOPPED_TRACE | P_STOPPED_SIG | P_WAITED); | p->p_flag &= ~(P_STOPPED_TRACE | P_STOPPED_SIG | P_WAITED); | ||||
thread_unsuspend(p); | thread_unsuspend(p); | ||||
PROC_SUNLOCK(p); | PROC_SUNLOCK(p); | ||||
itimer_proc_continue(p); | |||||
kqtimer_proc_continue(p); | |||||
break; | break; | ||||
case PT_WRITE_I: | case PT_WRITE_I: | ||||
case PT_WRITE_D: | case PT_WRITE_D: | ||||
td2->td_dbgflags |= TDB_USERWR; | td2->td_dbgflags |= TDB_USERWR; | ||||
PROC_UNLOCK(p); | PROC_UNLOCK(p); | ||||
error = 0; | error = 0; | ||||
if (proc_writemem(td, p, (off_t)(uintptr_t)addr, &data, | if (proc_writemem(td, p, (off_t)(uintptr_t)addr, &data, | ||||
▲ Show 20 Lines • Show All 222 Lines • Show Last 20 Lines |