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 namespace pqxx::internal
5 {
7 
10 void PQXX_LIBEXPORT wait_for(unsigned int microseconds);
11 
12 
15  int fd, bool for_read, bool for_write, unsigned seconds = 1,
16  unsigned microseconds = 0);
17 } // namespace pqxx::internal
18 #endif
#define PQXX_LIBEXPORT
Definition: header-pre.hxx:157
Internal items for libpqxx' own use. Do not use these yourself.
Definition: encodings.cxx:33
PQXX_LIBEXPORT void wait_fd(int fd, bool for_read, bool for_write, unsigned seconds=1, unsigned microseconds=0)
Wait for a socket to be ready for reading/writing, or timeout.
Definition: wait.cxx:91
void PQXX_LIBEXPORT wait_for(unsigned int microseconds)
Wait.
Definition: wait.cxx:145