Changeset 3842a955 in mainline for uspace/srv/ns/task.c


Ignore:
Timestamp:
2011-06-19T15:59:42Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26e7d6d
Parents:
9724d7f (diff), 74464e8 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r9724d7f r3842a955  
    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.