Skip to content

Is there any reason why Rc<RefCell> is used compared to Arc<Mutex>? #512

Open
@sokorototo

Description

@sokorototo

RefCell will quietly panic during a double write, but Mutex locks the current thread. Using RefCell limits the code to single-threaded programs, which I assume most services calling RPC aren't?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions