11 #ifndef ASIO_DETAIL_SIGNAL_HANDLER_HPP 12 #define ASIO_DETAIL_SIGNAL_HANDLER_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 30 template <
typename Handler>
48 ptr p = { asio::detail::addressof(h->handler_), h, h };
59 handler(h->handler_, h->ec_, h->signal_number_);
60 p.h = asio::detail::addressof(handler.
handler_);
82 #endif // ASIO_DETAIL_SIGNAL_HANDLER_HPP #define ASIO_HANDLER_INVOCATION_END
static void do_complete(io_service_impl *owner, operation *base, const asio::error_code &, std::size_t)
asio::basic_streambuf< Allocator > & b
class task_io_service io_service_impl
void invoke(Function &function, Context &context)
#define ASIO_HANDLER_INVOCATION_BEGIN(args)
Class to represent an error code value.
task_io_service_operation operation
signal_handler(Handler &h)
#define ASIO_HANDLER_COMPLETION(args)
#define ASIO_MOVE_CAST(type)
ASIO_DEFINE_HANDLER_PTR(signal_handler)