+1
−1
+15
−1
+6
−9
+1
−2
+1
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We need barriers to guarantee this pattern works as intended: [w] req->rc, 1 [r] req->status, 1 wmb rmb [w] req->status, 1 [r] req->rc Where the wmb ensures that rc gets written before status, and the rmb ensures that if you observe status == 1, rc is the new value. Signed-off-by:Dominique Martinet <dominique.martinet@cea.fr> Signed-off-by:
Eric Van Hensbergen <ericvh@gmail.com>