- head_lock is an opal_atomic_lock_t...
This commit was SVN r16028.
Этот коммит содержится в:
родитель
bc34a46969
Коммит
9c1c345c07
@ -10,13 +10,13 @@ do { \
|
||||
fifo=&(mca_btl_sm_component.fifo[peer_smp_rank][my_smp_rank]); \
|
||||
\
|
||||
/* thread lock */ \
|
||||
OPAL_THREAD_LOCK(&fifo->head_lock); \
|
||||
opal_atomic_lock(fifo->head_lock); \
|
||||
/* post fragment */ \
|
||||
while(ompi_fifo_write_to_head(hdr, fifo, \
|
||||
mca_btl_sm_component.sm_mpool) != OMPI_SUCCESS) \
|
||||
opal_progress(); \
|
||||
MCA_BTL_SM_SIGNAL_PEER(endpoint_peer); \
|
||||
OPAL_THREAD_UNLOCK(&fifo->head_lock); \
|
||||
opal_atomic_unlock(fifo->head_lock); \
|
||||
} while(0)
|
||||
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user