Subversion Repositories HelenOS-historic

Rev

Rev 1424 | Rev 1468 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1424 Rev 1460
Line 100... Line 100...
100
    for (i=0; i < IPC_MAX_PHONES;i++)
100
    for (i=0; i < IPC_MAX_PHONES;i++)
101
        ipc_phone_init(&ta->phones[i]);
101
        ipc_phone_init(&ta->phones[i]);
102
    if (ipc_phone_0)
102
    if (ipc_phone_0)
103
        ipc_phone_connect(&ta->phones[0], ipc_phone_0);
103
        ipc_phone_connect(&ta->phones[0], ipc_phone_0);
104
    atomic_set(&ta->active_calls, 0);
104
    atomic_set(&ta->active_calls, 0);
-
 
105
 
-
 
106
    mutex_initialize(&ta->futexes_lock);
-
 
107
    btree_create(&ta->futexes);
105
   
108
   
106
    ipl = interrupts_disable();
109
    ipl = interrupts_disable();
107
    spinlock_lock(&tasks_lock);
110
    spinlock_lock(&tasks_lock);
108
 
111
 
109
    ta->taskid = ++task_counter;
112
    ta->taskid = ++task_counter;