Define DEADLINE to wait for an absolute deadline, and NS for relative. Use circular time for DEADLINE