Changes in kernel/generic/src/ipc/ipc.c [fc0de8c:07d4271] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/ipc.c
rfc0de8c r07d4271 54 54 #include <arch.h> 55 55 #include <proc/task.h> 56 #include <mem .h>56 #include <memw.h> 57 57 #include <stdio.h> 58 58 #include <console/console.h> … … 326 326 irq_spinlock_unlock(&callerbox->lock, true); 327 327 328 waitq_wake up(&callerbox->wq, WAKEUP_FIRST);328 waitq_wake_one(&callerbox->wq); 329 329 } 330 330 … … 416 416 irq_spinlock_unlock(&box->lock, true); 417 417 418 waitq_wake up(&box->wq, WAKEUP_FIRST);418 waitq_wake_one(&box->wq); 419 419 } 420 420 … … 555 555 errno_t rc; 556 556 557 rc = waitq_sleep_timeout(&box->wq, usec, flags, NULL);557 rc = _waitq_sleep_timeout(&box->wq, usec, flags); 558 558 if (rc != EOK) 559 559 return rc; … … 967 967 void ipc_print_task(task_id_t taskid) 968 968 { 969 irq_spinlock_lock(&tasks_lock, true);970 969 task_t *task = task_find_by_id(taskid); 971 if (!task) { 972 irq_spinlock_unlock(&tasks_lock, true); 970 if (!task) 973 971 return; 974 }975 task_hold(task);976 irq_spinlock_unlock(&tasks_lock, true);977 972 978 973 printf("[phone cap] [calls] [state\n");
Note:
See TracChangeset
for help on using the changeset viewer.