All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.qbicc.graph.atomic.PureModes Maven / Gradle / Ivy

There is a newer version: 0.77.0
Show newest version
package org.qbicc.graph.atomic;

/**
 *
 */
enum PureModes implements AccessMode, AtomicTraits {
    SingleAcqRel,
    ;

    @Override
    public ReadAccessMode getReadAccess() {
        return ReadWriteModes.SingleSeqCst;
    }

    @Override
    public WriteAccessMode getWriteAccess() {
        return ReadWriteModes.SingleSeqCst;
    }

    @Override
    public GlobalAccessMode getGlobalAccess() {
        return PureFences.GlobalAcqRel;
    }

    @Override
    public int getBits() {
        return SINGLE_ACQ_REL;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy