Merge pull request #2016 from hjelmn/wait_sync
opal/wait_sync: add #if protection on header
Этот коммит содержится в:
Коммит
89c2f4974c
@ -12,6 +12,10 @@
|
||||
*
|
||||
* $HEADER$
|
||||
*/
|
||||
|
||||
#if !defined(OPAL_THREADS_WAIT_SYNC_H)
|
||||
#define OPAL_THREADS_WAIT_SYNC_H
|
||||
|
||||
#include "opal/sys/atomic.h"
|
||||
#include "opal/threads/condition.h"
|
||||
#include <pthread.h>
|
||||
@ -115,3 +119,5 @@ static inline void wait_sync_update(ompi_wait_sync_t *sync, int updates, int sta
|
||||
}
|
||||
|
||||
END_C_DECLS
|
||||
|
||||
#endif /* defined(OPAL_THREADS_WAIT_SYNC_H) */
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user