1
1

Fixed common symbol in btl/usnic

- This commit fixes the accidental common symbol btl_usnic_lock
- It also moves the btl_usnic_lock declaration to btl_usnic.h
Этот коммит содержится в:
Thananon Patinyasakdikul 2016-06-20 09:43:13 -07:00
родитель 1bed9fdb59
Коммит afe07cd5d5
3 изменённых файлов: 5 добавлений и 7 удалений

Просмотреть файл

@ -63,6 +63,10 @@ BEGIN_C_DECLS
* at other times as needed or as tuning dictates.
*/
extern uint64_t opal_btl_usnic_ticks;
/* Lock for MPU_THREAD_MULTIPLE support */
extern opal_recursive_mutex_t btl_usnic_lock;
static inline uint64_t
get_nsec(void)
{

Просмотреть файл

@ -87,7 +87,7 @@
#define OPAL_BTL_USNIC_NUM_COMPLETIONS 500
/* MPI_THREAD_MULTIPLE_SUPPORT */
opal_recursive_mutex_t btl_usnic_lock;
opal_recursive_mutex_t btl_usnic_lock = OPAL_RECURSIVE_MUTEX_STATIC_INIT;
/* RNG buffer definition */
opal_rng_buff_t opal_btl_usnic_rand_buff = {0};

Просмотреть файл

@ -53,12 +53,6 @@
BEGIN_C_DECLS
/*
* MPI_THREAD_MULTIPLE support
*/
extern opal_recursive_mutex_t btl_usnic_lock;
/*
* Forward declarations to avoid include loops
*/