pipe-tools
Software
www.skarnet.org

The npt-and program

npt-and listens to a fifodir until it has been notified with a set of events. It's a simple interface to the nptrigger_wfa() library call.

Interface

     npt-and fifodir event1 event2 ...
npt-and blocks until fifodir has been notified with all the eventi. Then it exits 0.

You should use npt-and with maximumtime to ensure that it does not block forever.

Notes

The goal of npt-and is to implement portable checkpoint conjunction.