Event racing condition #9544
Unanswered
krishnak
asked this question in
Using MicroPython
Replies: 2 comments 10 replies
-
|
What exactly are these |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an asyncio method which sets this
The method which is waiting on responseQueueEvent is as below, the responseQueue object is a global variable
There are occassions where the event is set but the queue is empty at the waiting method, it is not that the msg variable is empty. The append function appears to be completing after Event.set() is called which results in the waiting function to proceed with an empty list. How do I avoid this
The same code works OK 80% of the time.
Beta Was this translation helpful? Give feedback.
All reactions