Libraries for low-level event loop management