1
1
Nathan Hjelm 7af138f83b osc/pt2pt: fix possible race in peer locking
It is possible for another thread to process a lock ack before the
peer is set as locked. In this case either setting the locked or the
eager active flag might clobber the other thread. To address this the
flags have been made volatile and are set atomically. Since there is
no a opal_atomic_or or opal_atomic_and function just use cmpset for
now.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2016-08-25 09:28:25 -06:00
..
2016-08-24 14:35:45 -06:00
2016-08-22 15:35:27 -07:00
2016-08-24 14:35:45 -06:00
2016-08-24 14:35:45 -06:00
2016-08-22 15:35:27 -07:00
2015-10-22 15:50:40 -06:00
2015-06-25 10:04:42 -06:00