wang384670111 opened a new pull request, #425:
URL: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/425

   I think the use of ordering here is irregular. In teaclave, there will be no 
simultaneous read and write operations to CALLBACK_FN, GLOBAL_HASH_BUFFER and 
GLOBAL_COND_BUFFER in a multi-threaded environment, only simultaneous reads to 
them occur, so I think Ordering::Relaxed can be used here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@teaclave.apache.org
For additional commands, e-mail: notifications-h...@teaclave.apache.org

Reply via email to