STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
request_operations.h File Reference

Go to the source code of this file.

Namespaces

 stxxl
 STXXL library namespace
 

Functions

template<class RequestIterator >
std::iterator_traits
< RequestIterator >
::difference_type 
stxxl::cancel_all (RequestIterator reqs_begin, RequestIterator reqs_end)
 Cancel requests. The specified requests are canceled unless already being processed. However, cancelation cannot be guaranteed. Cancelled requests must still be waited for in order to ensure correct operation. More...
 
template<class RequestIterator >
RequestIterator stxxl::poll_any (RequestIterator reqs_begin, RequestIterator reqs_end)
 Polls requests. More...
 
bool stxxl::poll_any (request_ptr req_array[], size_t count, size_t &index)
 Polls requests. More...
 
template<class RequestIterator >
void stxxl::wait_all (RequestIterator reqs_begin, RequestIterator reqs_end)
 Collection of functions to track statuses of a number of requests. More...
 
void stxxl::wait_all (request_ptr req_array[], size_t count)
 Suspends calling thread until all given requests are completed. More...
 
template<class RequestIterator >
RequestIterator stxxl::wait_any (RequestIterator reqs_begin, RequestIterator reqs_end)
 Suspends calling thread until any of requests is completed. More...
 
size_t stxxl::wait_any (request_ptr req_array[], size_t count)
 Suspends calling thread until any of requests is completed. More...