Class InterruptibleTask.AtomicHelper

    • Constructor Detail

      • AtomicHelper

        private AtomicHelper()
    • Method Detail

      • compareAndSetRunner

        abstract boolean compareAndSetRunner​(InterruptibleTask task,
                                             java.lang.Thread expect,
                                             java.lang.Thread update)
        Atomic compare-and-set of the InterruptibleTask.runner field.
        Returns:
        true if successful