Skip to content

Do not yield back to taskmanager in spinlock #29

@davetcc

Description

@davetcc

Yielding back to taskmgr in this situation is a recipe to deadlock the bus, as at some point two things get held up waiting for the same lock, and neither can acquire.

Locks are designed for things that are fleeting in scope, IE to control access to shared state for a few microseconds, not for things that last long enough to need yielding.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions