Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

current_dispatcher

Retrieves the currently set async_file_io_dispatcher for this thread, optionally setting it to a new dispatcher.

Synopsis
BOOST_AFIO_DECL dispatcher_ptr current_dispatcher(option< dispatcher_ptr > new_dispatcher = empty)
Parameters

Type

Concept

Name

Description

option< dispatcher_ptr >

new_dispatcher

The new async_file_io_dispatcher to set.

Returns

The current async_file_io_dispatcher.

Header

#include <boost/afio/v2/afio.hpp>


PrevUpHomeNext