Changeset 86939b1 in mainline for kernel/generic/src/proc/task.c


Ignore:
Timestamp:
2012-08-13T14:12:19Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1cb75de
Parents:
cfaa35a
Message:

Maintain task's active calls in the active call list.

  • The call is placed on the list when sent and removed when the answer is picked up by the task.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/task.c

    rcfaa35a r86939b1  
    162162        for (i = 0; i < IPC_MAX_PHONES; i++)
    163163                ipc_phone_init(&task->phones[i]);
     164
     165        spinlock_initialize(&task->active_calls_lock, "active_calls_lock");
     166        list_initialize(&task->active_calls);
    164167       
    165168#ifdef CONFIG_UDEBUG
Note: See TracChangeset for help on using the changeset viewer.