Last active
June 20, 2020 21:45
-
-
Save mattheweshleman/9eea535c46b9092678d40043ce9634c0 to your computer and use it in GitHub Desktop.
race_condition_sleep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Functionality() | |
{ | |
ActivateAsyncBehavior(); | |
msleep(20); //must wait for external behavior to complete | |
ReadDataAndActUponIt(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment