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

rmp: use std::atomic for Blif::call_id_ static data member #5989

Closed

Commits on Oct 21, 2024

  1. use std::atomic to protect concurrent access to the call_id_ static d…

    …ata member
    
    Protect concurrent access to the Blif::call_id_ using an atomic data type: it is cheaper than a lock and for a machine word it is sufficent.
    
    Resolves rmp in The-OpenROAD-Project#5981.
    
    Signed-off-by: Calin Cascaval <[email protected]>
    cc10512 committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    100e382 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. rmp: create unique instance ids for rmp::Blif

    Creates a thread safe global counter for instances of the Blif class, and
    stores the counter as a data member to be used in instance methods.
    
    Signed-off-by: Calin Cascaval <[email protected]>
    cc10512 committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    396a344 View commit details
    Browse the repository at this point in the history