Subversion Repositories HelenOS

Rev

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

Rev 2087 Rev 2745
Line 322... Line 322...
322
    mutex_lock(&TASK->futexes_lock);
322
    mutex_lock(&TASK->futexes_lock);
323
 
323
 
324
    for (cur = TASK->futexes.leaf_head.next;
324
    for (cur = TASK->futexes.leaf_head.next;
325
        cur != &TASK->futexes.leaf_head; cur = cur->next) {
325
        cur != &TASK->futexes.leaf_head; cur = cur->next) {
326
        btree_node_t *node;
326
        btree_node_t *node;
327
        int i;
327
        unsigned int i;
328
       
328
       
329
        node = list_get_instance(cur, btree_node_t, leaf_link);
329
        node = list_get_instance(cur, btree_node_t, leaf_link);
330
        for (i = 0; i < node->keys; i++) {
330
        for (i = 0; i < node->keys; i++) {
331
            futex_t *ftx;
331
            futex_t *ftx;
332
            uintptr_t paddr = node->key[i];
332
            uintptr_t paddr = node->key[i];