Class SigIntBarrier

java.lang.Object
org.agrona.concurrent.SigIntBarrier

public class SigIntBarrier extends Object
One time barrier for blocking one or more threads until a SIGINT signal is received from the operating system or by programmatically calling signal().
  • Field Details

  • Constructor Details

    • SigIntBarrier

      public SigIntBarrier()
      Construct and register the barrier ready for use.
  • Method Details

    • signal

      public void signal()
      Programmatically signal awaiting threads.
    • await

      public void await()
      Await the reception of the SIGINT signal.