Lely core libraries
2.3.4
|
#include <lely/ev/future.hpp>
#include <lely/io2/dev.hpp>
#include <lely/io2/sigset.h>
#include <utility>
Go to the source code of this file.
Data Structures | |
class | lely::io::detail::SignalSetWaitWrapper< F > |
class | lely::io::SignalSetWait |
A wait operation suitable for use with a signal handler. More... | |
class | lely::io::SignalSetBase |
A reference to an abstract signal handler. More... | |
Functions | |
template<class F > | |
typename ::std::enable_if< compat::is_invocable< F, int >::value, detail::SignalSetWaitWrapper< F > * >::type | lely::io::make_signal_set_wait_wrapper (ev_exec_t *exec, F &&f) |
Creates a wait operation with a completion task. More... | |
This header file is part of the I/O library; it contains the C++ interface for the abstract signal handler.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file sigset.hpp.
|
inline |
Creates a wait operation with a completion task.
The operation deletes itself after it is completed, so it MUST NOT be deleted once it is submitted to a signal handler.
Definition at line 71 of file sigset.hpp.