Skip to content

Fix RwLock fallback implementation #33

Closed
@seritools

Description

@seritools

An RwLock fallback implementatoin cannot be done with a mutex, as it prevents multiple read locks e.g. from the same thread to happen, or prevents co-dependent threads that all should have read locks from progressing together. In fact, even the simple example in the Rust std docs for RwLock will panic immediately.

Split off from #32 (comment)

Interesting links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions