summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/mutex.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-12-22 13:03:44 -0800
committerGitHub <noreply@github.com>2019-12-22 13:03:44 -0800
commitadc5186ebd1290c2f144e153a87e147d257f8b0f (patch)
tree507624871353d166db8e822208d06e873ea8611f /tokio/src/sync/mutex.rs
parent7b53b7b659fe1feeb30e768cad8fdadf9531beb6 (diff)
rt: fix storing Runtime in thread-local (#2011)
Storing a `Runtime` value in a thread-local resulted in a panic due to the inability to access the parker. This fixes the bug by skipping parking if it fails. In general, there isn't much that we can do besides not parking. Fixes #593
Diffstat (limited to 'tokio/src/sync/mutex.rs')
0 files changed, 0 insertions, 0 deletions