Module libpulse_binding::mainloop::signal[][src]

UNIX signal support for main loops.

Overview

In contrast to other main loop event sources such as timer and IO events, UNIX signal support requires modification of the global process environment. Due to this the generic main loop abstraction layer as defined in ::mainloop::api doesn't have direct support for UNIX signals. However, you may hook signal support into an abstract main loop via the routines defined herein.

Structs

Event

An opaque UNIX signal event source object. This acts as a safe Rust wrapper for the actual C object. Note: Saves a copy of the closure callbacks, which it frees on drop.