pub fn new() -> (WaitHandleSignaler, WaitHandleListener) {
    let wait_handle = Arc::new(WaitHandle::new());
    let signaler = WaitHandleSignaler::new(wait_handle.clone());
    let listener = WaitHandleListener::new(wait_handle);
    (signaler, listener)
}
/// Creates a wait handle pair for signaling and listening.
Creates a wait handle pair for signaling and listening.
Creates a wait handle pair for signaling and listening .
pub fn new() -> (WaitHandleSignaler, WaitHandleListener) {
    let wait_handle = Arc::new(WaitHandle::new());
    let signaler = WaitHandleSignaler::new(wait_handle.clone());
    let listener = WaitHandleListener::new(wait_handle);
    (signaler, listener)
}
pub fn new ( ) -> ( WaitHandleSignaler , WaitHandleListener ) { let wait_handle = Arc :: new ( WaitHandle :: new ( ) ) ; let signaler = WaitHandleSignaler :: new ( wait_handle . clone ( ) ) ; let listener = WaitHandleListener :: new ( wait_handle ) ; ( signaler , listener ) }
Creates a wait handle pair for signaling and listening.
Creates a wait handle pair for signaling and listening .