Skip to content
This repository has been archived by the owner on Feb 15, 2021. It is now read-only.

Add Sync bound to Send impl of LockWeak<T> #6

Merged
merged 1 commit into from
Feb 14, 2021
Merged

Add Sync bound to Send impl of LockWeak<T> #6

merged 1 commit into from
Feb 14, 2021

Commits on Nov 14, 2020

  1. Add Sync bound to Send impl of LockWeak<T>`

    It is possible to create data races by enclosing a
    non-Sync type data to `ParentArc` and by accessing the enclosed data
    from multiple threads via `ChildArc`.
    
    This PR fixes the issue by adding a Sync bound to the
    `Send` impl of `LockWeak<T>`.
    For a detailed explanation with a proof-of-concept,
    please refer to the corresponding PR description.
    
    Thank you for reviewing :)
    JOE1994 committed Nov 14, 2020
    Configuration menu
    Copy the full SHA
    582b622 View commit details
    Browse the repository at this point in the history