libpqxx
The C++ client library for PostgreSQL
wait.hxx
Go to the documentation of this file.
1 #if !defined(PQXX_WAIT_HXX)
2 # define PQXX_WAIT_HXX
3 
4 # include "pqxx/types.hxx"
5 
6 
7 namespace pqxx::internal
8 {
10 
13 PQXX_LIBEXPORT void wait_for(unsigned int microseconds);
14 
15 
17 
41  int fd, bool for_read, bool for_write, unsigned seconds = 1,
42  unsigned microseconds = 0, sl = sl::current());
43 } // namespace pqxx::internal
44 #endif
#define PQXX_LIBEXPORT
Definition: header-pre.hxx:206
Private namespace for libpqxx's internal use; do not access.
Definition: connection.cxx:333
PQXX_LIBEXPORT void wait_fd(int fd, bool for_read, bool for_write, unsigned seconds=1, unsigned microseconds=0, sl=sl::current())
Wait for a socket to be ready for reading/writing, or timeout.
PQXX_LIBEXPORT void wait_for(unsigned int microseconds)
Wait.
Definition: wait.cxx:150
std::source_location sl
Convenience alias for std::source_location. It's just too long.
Definition: types.hxx:38