Changes in uspace/srv/ns/task.c [c7bbf029:b72efe8] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    rc7bbf029 rb72efe8  
    189189} pending_wait_t;
    190190
    191 static link_t pending_wait;
     191static list_t pending_wait;
    192192
    193193int task_init(void)
     
    212212void process_pending_wait(void)
    213213{
    214         link_t *cur;
    215214        task_exit_t texit;
    216215       
    217216loop:
    218         for (cur = pending_wait.next; cur != &pending_wait; cur = cur->next) {
     217        list_foreach(pending_wait, cur) {
    219218                pending_wait_t *pr = list_get_instance(cur, pending_wait_t, link);
    220219               
Note: See TracChangeset for help on using the changeset viewer.