这是indexloc提供的服务,不要输入任何密码
Skip to content

maitake-sync: Make a pass for unwind safety #524

@jamesmunns

Description

@jamesmunns

The current maitake docs say that unwinding is not supported.

In this embassy discussion, we outline why this is, and how to fix it.

We should probably take tokio's mitigations, gated to only be enabled when the std feature is enabled.

We may also need to do the same for some of the mutex crate impls as well, to ensure that the mutex is unlocked on panic.

CC @hawkw if I missed anything, I'll try and take a crack at this over the weekend.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions