From 897751bb8d7c8c5ab7fef90527ed1700b6a7596d Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Mon, 6 Feb 2006 04:17:13 +0000 Subject: [PATCH] Update the windows threads. This commit was SVN r8901. --- opal/threads/thread.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/opal/threads/thread.c b/opal/threads/thread.c index 68c69915d0..d7f3633e79 100644 --- a/opal/threads/thread.c +++ b/opal/threads/thread.c @@ -97,10 +97,7 @@ bool opal_thread_self_compare(opal_thread_t *t) { DWORD thread_id; thread_id = GetCurrentThreadId(); - if (thread_id == t->t_handle) { - return true; - } - return false; + return (thread_id == t->t_handle ? true : false); }