Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup (shared_mutex, named_thread); fix cellVdecClose #5173

Merged
merged 8 commits into from Sep 27, 2018

Commits on Sep 27, 2018

  1. shared_mutex cleanup

    Rewrite to use unsigned arithmetic, shrink to u32
    Ensure zero default unlocked state (will need it later)
    Inline all public methods, rewrite lock_upgrade()
    Remove try_lock_degrade(), lock_degrade() methods
    Implement lock_downgrade() (now trivial)
    Remove is_reading(), added is_free()
    Added reader_lock::try_upgrade()
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    9e5b633 View commit details
    Browse the repository at this point in the history
  2. Implement lf_queue<>, lf_value<>

    lf_queue<>: unbound FIFO queue with dynamic linked-list
    lf_value<>: concurrently-assignable value readable without locking at the cost of memory (using dynamic linked list)
    
    Add atomic_t<>::compare_exchange
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    a8a8cd8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a605dd0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb524db View commit details
    Browse the repository at this point in the history
  5. LLVM: remove false alarm errors

    Writable sections ARE supported
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    b2f29cd View commit details
    Browse the repository at this point in the history
  6. Fix consistency in Emu::Stop()

    Don't clear force_boot on shortcut Load()
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    680aaf2 View commit details
    Browse the repository at this point in the history
  7. Fix cellVdecClose

    Thanks Micaelis#6971
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    4ef384a View commit details
    Browse the repository at this point in the history
  8. New named_thread template (preview)

    Old class named_thread renamed to old_thread
    It's too hard to move in a single commit
    Nekotekina committed Sep 27, 2018
    Configuration menu
    Copy the full SHA
    306f95a View commit details
    Browse the repository at this point in the history