From dd13b098e140170e8b43c8dcf8ffba092386f96d Mon Sep 17 00:00:00 2001 From: Rainer Keller Date: Thu, 26 Jan 2006 13:20:53 +0000 Subject: [PATCH] - Simple locking fix. This commit was SVN r8822. --- orte/mca/iof/base/iof_base_endpoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/iof/base/iof_base_endpoint.c b/orte/mca/iof/base/iof_base_endpoint.c index e50a99e74b..dc1d33530a 100644 --- a/orte/mca/iof/base/iof_base_endpoint.c +++ b/orte/mca/iof/base/iof_base_endpoint.c @@ -540,7 +540,7 @@ int orte_iof_base_callback_delete( orte_iof_base_endpoint_t* endpoint; opal_list_item_t* item; - OPAL_THREAD_UNLOCK(&orte_iof_base.iof_lock); + OPAL_THREAD_LOCK(&orte_iof_base.iof_lock); if(NULL == (endpoint = orte_iof_base_endpoint_lookup(proc,ORTE_IOF_SINK, tag))) { OPAL_THREAD_UNLOCK(&orte_iof_base.iof_lock); return ORTE_ERR_NOT_FOUND;