thread.local does not work with yielding code
Bug #1364181 reported by
Angus Salkeld
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
osprofiler |
Confirmed
|
High
|
Unassigned |
Bug Description
Heat uses yield to explicitly give up control and do other processing see:
https:/
https:/
This is quite similar to how tulip/asyncio works.
What would be awesome is an api where we can control the switching of the thread.local.
This could be a start for ideas:
https:/
So when you call: https:/
we could provide a "different" thread.local wrapper.
Changed in osprofiler: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → High |
To post a comment you must log in.