1
1
This commit was SVN r7177.
Этот коммит содержится в:
Galen Shipman 2005-09-04 13:26:46 +00:00
родитель ba9342085e
Коммит 1af92a1de2

Просмотреть файл

@ -60,7 +60,7 @@ struct mca_rcache_rb_tree_item_t * mca_rcache_rb_tree_find(
{
mca_rcache_rb_tree_item_t* found, *copy;
OPAL_THREAD_LOCK(&rb_module->tree_lock);
OPAL_THREAD_LOCK(&rb_module->rb_lock);
found = mca_rcache_rb_tree_find_nl(rb_module, base);
if(NULL == found) {
copy = NULL;
@ -68,7 +68,7 @@ struct mca_rcache_rb_tree_item_t * mca_rcache_rb_tree_find(
copy = OBJ_NEW(mca_rcache_rb_tree_item_t);
*copy = *found;
}
OPAL_THREAD_UNLOCK(&mca_mpool_base_tree_lock);
OPAL_THREAD_UNLOCK(&rb_moduel->rb_lock);
return copy;
}