Interface IKernelBarrier

All Superinterfaces:
ForkJoinPool.ManagedBlocker

public interface IKernelBarrier extends ForkJoinPool.ManagedBlocker
Provides the interface for Aparapi Kernel barriers.
Author:
CoreRasurae
  • Method Details

    • cancelBarrier

      void cancelBarrier()
      Cancels the barrier. All threads that may be waiting for the barrier are released and barrier is permanently disabled.
    • breakBarrier

      void breakBarrier(Throwable e)
      Breaks the barrier. All threads that may be waiting for the barrier are released and will throw AparapiBrokenBarrierException.
      Parameters:
      t - the Throwable causing the barrier to break.