summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2016-01-11 20:28:55 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2016-01-11 20:28:55 +0000
commit1a78c6322cbe889fdb173005864a48aa7da947e6 (patch)
treec9c008e77ce55b10a501d33a8cf6d82914576efa
parentc8a44d860ec4b7bb2d6d8320b5d2cd237a0887d1 (diff)
downloadbcm5719-llvm-1a78c6322cbe889fdb173005864a48aa7da947e6.tar.gz
bcm5719-llvm-1a78c6322cbe889fdb173005864a48aa7da947e6.zip
Put function names on their own line.
llvm-svn: 257378
-rw-r--r--openmp/runtime/src/kmp_wait_release.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/openmp/runtime/src/kmp_wait_release.h b/openmp/runtime/src/kmp_wait_release.h
index c68ea3e93bc..0302607a9df 100644
--- a/openmp/runtime/src/kmp_wait_release.h
+++ b/openmp/runtime/src/kmp_wait_release.h
@@ -86,8 +86,9 @@ class kmp_flag {
/* Spin wait loop that first does pause, then yield, then sleep. A thread that calls __kmp_wait_*
must make certain that another thread calls __kmp_release to wake it back up to prevent deadlocks! */
template <class C>
-static inline void __kmp_wait_template(kmp_info_t *this_thr, C *flag, int final_spin
- USE_ITT_BUILD_ARG(void * itt_sync_obj) )
+static inline void
+__kmp_wait_template(kmp_info_t *this_thr, C *flag, int final_spin
+ USE_ITT_BUILD_ARG(void * itt_sync_obj) )
{
// NOTE: We may not belong to a team at this point.
volatile typename C::flag_t *spin = flag->get();
@@ -282,7 +283,8 @@ static inline void __kmp_wait_template(kmp_info_t *this_thr, C *flag, int final_
if indicated by the sleep bit(s). A thread that calls __kmp_wait_template must call this function to wake
up the potentially sleeping thread and prevent deadlocks! */
template <class C>
-static inline void __kmp_release_template(C *flag)
+static inline void
+__kmp_release_template(C *flag)
{
#ifdef KMP_DEBUG
int gtid = TCR_4(__kmp_init_gtid) ? __kmp_get_gtid() : -1;
OpenPOWER on IntegriCloud