about summary refs log tree commit diff
path: root/tests/codegen/array-codegen.rs
diff options
context:
space:
mode:
authorbunnie <bunnie@kosagi.com>2023-12-22 09:27:30 +0800
committerSean Cross <sean@xobs.io>2024-01-13 09:13:56 -0800
commit118e8f78402a584becebf0c96082537fbaa8b9e6 (patch)
tree38374421496ec1473fb9db2ef28a63d4857e2585 /tests/codegen/array-codegen.rs
parent944dc212685a4f17db144d14459ee4bc3ffd3423 (diff)
downloadrust-118e8f78402a584becebf0c96082537fbaa8b9e6.tar.gz
rust-118e8f78402a584becebf0c96082537fbaa8b9e6.zip
xous: std: thread_parking: fix deadlocks
Fix a deadlock condition that can occur when a thread is awoken in
between the point at which it checks its wake state and the point where
it actually waits.

This change will cause the waker to continuously send Notify messages
until it actually wakes up the target thread.

Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'tests/codegen/array-codegen.rs')
0 files changed, 0 insertions, 0 deletions