summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/z_Linux_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/z_Linux_util.c')
-rw-r--r--openmp/runtime/src/z_Linux_util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/openmp/runtime/src/z_Linux_util.c b/openmp/runtime/src/z_Linux_util.c
index 0ebd9c4a9b9..703ad6daed0 100644
--- a/openmp/runtime/src/z_Linux_util.c
+++ b/openmp/runtime/src/z_Linux_util.c
@@ -54,7 +54,6 @@
# include <pthread_np.h>
#endif
-
#include <dirent.h>
#include <ctype.h>
#include <fcntl.h>
@@ -754,7 +753,6 @@ __kmp_launch_worker( void *thr )
return exit_val;
}
-
/* The monitor thread controls all of the threads in the complex */
static void*
@@ -1752,8 +1750,6 @@ static inline void __kmp_suspend_template( int th_gtid, C *flag )
KMP_DEBUG_ASSERT( TCR_4(__kmp_thread_pool_active_nth) >= 0 );
}
deactivated = TRUE;
-
-
}
#if USE_SUSPEND_TIMEOUT
@@ -1813,7 +1809,6 @@ static inline void __kmp_suspend_template( int th_gtid, C *flag )
}
#endif
-
status = pthread_mutex_unlock( &th->th.th_suspend_mx.m_mutex );
KMP_CHECK_SYSFAIL( "pthread_mutex_unlock", status );
@@ -1872,7 +1867,6 @@ static inline void __kmp_resume_template( int target_gtid, C *flag )
KF_TRACE( 5, ( "__kmp_resume_template: T#%d exiting, thread T#%d already awake: flag(%p): "
"%u => %u\n",
gtid, target_gtid, flag->get(), old_spin, *flag->get() ) );
-
status = pthread_mutex_unlock( &th->th.th_suspend_mx.m_mutex );
KMP_CHECK_SYSFAIL( "pthread_mutex_unlock", status );
return;
@@ -1892,7 +1886,6 @@ static inline void __kmp_resume_template( int target_gtid, C *flag )
}
#endif
-
status = pthread_cond_signal( &th->th.th_suspend_cv.c_cond );
KMP_CHECK_SYSFAIL( "pthread_cond_signal", status );
status = pthread_mutex_unlock( &th->th.th_suspend_mx.m_mutex );
OpenPOWER on IntegriCloud