[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lost] [Patch] kernel2: syscall_pm_v muss Prozess freigeben
! kernel2: syscall_pm_v muss einen geblockten Prozess (Standardzustand nach
dem Erstellen eines neuen Prozesses) freigeben
Index: trunk/src/kernel2/src/syscalls/pv.c
===================================================================
--- trunk.orig/src/kernel2/src/syscalls/pv.c
+++ trunk/src/kernel2/src/syscalls/pv.c
@@ -65,7 +65,9 @@ int syscall_pm_v(pid_t pid)
pm_unblock_rpc(cpu_get_current()->thread->process,
cpu_get_current()->thread->process->pid);
} else {
- pm_unblock_rpc(pm_get(pid), cpu_get_current()->thread->process->pid);
+ pm_process_t* process = pm_get(pid);
+ pm_unblock(process);
+ pm_unblock_rpc(process, cpu_get_current()->thread->process->pid);
}
return 0;