1
1

Merge pull request #2016 from hjelmn/wait_sync

opal/wait_sync: add #if protection on header
Этот коммит содержится в:
Nathan Hjelm 2016-08-25 15:13:09 -07:00 коммит произвёл GitHub
родитель f3d4eaeaf7 de32c779e2
Коммит 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) */