Subversion Repositories HelenOS

Rev

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

Rev 4552 Rev 4554
Line 461... Line 461...
461
 
461
 
462
    fibril_mutex_lock(&used_lock);
462
    fibril_mutex_lock(&used_lock);
463
    l = hash_table_find(&ui_hash, ikey);
463
    l = hash_table_find(&ui_hash, ikey);
464
    if (l) {
464
    if (l) {
465
        fidx = hash_table_get_instance(l, fat_idx_t, uih_link);
465
        fidx = hash_table_get_instance(l, fat_idx_t, uih_link);
466
        futex_down(&fidx->lock);
466
        fibril_mutex_lock(&fidx->lock);
467
    }
467
    }
468
    fibril_mutex_unlock(&used_lock);
468
    fibril_mutex_unlock(&used_lock);
469
 
469
 
470
    return fidx;
470
    return fidx;
471
}
471
}