Skip to content

Commit 317d11f

Browse files
committed
minor struct optimization per feedback
from jsquyres Signed-off-by: Howard Pritchard <[email protected]>
1 parent 15a8caf commit 317d11f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/threads/pthreads/threads_pthreads_mutex.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ struct opal_pthread_mutex_t {
4040
opal_object_t super;
4141

4242
pthread_mutex_t m_lock_pthread;
43+
opal_atomic_lock_t m_lock_atomic;
4344

4445
#if OPAL_ENABLE_DEBUG
4546
int m_lock_debug;
4647
const char *m_lock_file;
4748
int m_lock_line;
4849
#endif
49-
50-
opal_atomic_lock_t m_lock_atomic;
5150
};
51+
5252
typedef struct opal_pthread_mutex_t opal_pthread_mutex_t;
5353
typedef struct opal_pthread_mutex_t opal_pthread_recursive_mutex_t;
5454

0 commit comments

Comments
 (0)