Open clupuishere opened 8 months ago
The has_event flag is set while holding the enclave_info_mutex mutex. Let's also hold the mutex while reading the flag to avoid races.
has_event
enclave_info_mutex
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
The
has_event
flag is set while holding theenclave_info_mutex
mutex. Let's also hold the mutex while reading the flag to avoid races.Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.