Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Switch to parking_lot or tokio mutex #299

@appaquet

Description

@appaquet

When we don't need async, switch to parking_lot's primitives as they don't need to be unwrapped since they panic on poising instead. parking_lot's RWLock also allows upgrading a read lock to write.

When we need async, we should use Tokio's primitives.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions