#include <request.h>
Public Member Functions | |
Request () | |
Request (const request &r) | |
Request (const Request &other) | |
void | cleanup () |
Request & | operator= (const Request &other) |
Request & | operator= (const request &r) |
~Request () | |
request * | get () |
const request * | get () const |
Status | wait () |
bool | test () |
bool | test (status &status) |
void | add_prior_request (const Request &req) |
void | add_post_wait_work (PostWaitWork *work) |
Private Attributes | |
request | _request |
std::unique_ptr< Request > | _prior_request |
std::pair< std::vector< PostWaitWork *>, unsigned int > * | post_wait_work |
Friends | |
std::size_t | waitany (std::vector< Request > &) |
libMesh::Parallel::Request::Request | ( | ) |
Definition at line 44 of file request.C.
Referenced by add_prior_request(), operator=(), and Request().
libMesh::Parallel::Request::Request | ( | const request & | r | ) |
Definition at line 53 of file request.C.
libMesh::Parallel::Request::Request | ( | const Request & | other | ) |
Definition at line 58 of file request.C.
References _prior_request, post_wait_work, and Request().
libMesh::Parallel::Request::~Request | ( | ) |
void libMesh::Parallel::Request::add_post_wait_work | ( | PostWaitWork * | work | ) |
Definition at line 204 of file request.C.
References post_wait_work.
Referenced by libMesh::Parallel::Communicator::nonblocking_receive_packed_range(), libMesh::Parallel::Communicator::nonblocking_send_packed_range(), libMesh::Parallel::Communicator::receive(), libMesh::Parallel::Communicator::send(), and libMesh::Parallel::Communicator::send_packed_range().
void libMesh::Parallel::Request::add_prior_request | ( | const Request & | req | ) |
Definition at line 190 of file request.C.
References _prior_request, and Request().
Referenced by libMesh::Parallel::Communicator::send_packed_range().
void libMesh::Parallel::Request::cleanup | ( | ) |
Definition at line 71 of file request.C.
References post_wait_work.
Referenced by operator=(), and ~Request().
|
inline |
Definition at line 80 of file request.h.
References _request.
Referenced by libMesh::Parallel::Communicator::receive(), libMesh::Parallel::Communicator::send(), and libMesh::Parallel::waitany().
|
inline |
Definition at line 92 of file request.C.
References _prior_request, _request, cleanup(), post_wait_work, and Request().
Definition at line 109 of file request.C.
References _request, cleanup(), and post_wait_work.
bool libMesh::Parallel::Request::test | ( | ) |
bool libMesh::Parallel::Request::test | ( | status & | status | ) |
Status libMesh::Parallel::Request::wait | ( | ) |
Definition at line 121 of file request.C.
References _prior_request, _request, libMesh::Parallel::Status::get(), and post_wait_work.
Referenced by libMesh::Parallel::Communicator::send_receive_packed_range(), and libMesh::Parallel::wait().
|
friend |
Wait for at least one non-blocking operation to finish. Return the index of the request which completed.
Definition at line 219 of file request.C.
|
private |
Definition at line 110 of file request.h.
Referenced by add_prior_request(), operator=(), Request(), wait(), and libMesh::Parallel::waitany().
|
private |
|
private |
Definition at line 118 of file request.h.
Referenced by add_post_wait_work(), cleanup(), operator=(), Request(), wait(), and libMesh::Parallel::waitany().