Simplify wait_op implementation.
Add post_at() and post_after() functions.