libpqxx
The C++ client library for PostgreSQL
wait.hxx
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 
14 PQXX_LIBEXPORT void wait_fd(
15  int fd, bool for_read, bool for_write, unsigned seconds = 1,
16  unsigned microseconds = 0);
17 } // namespace pqxx::internal
18 #endif
Internal items for libpqxx' own use. Do not use these yourself.
Definition: encodings.cxx:32
void PQXX_LIBEXPORT wait_for(unsigned int microseconds)
Wait.
Definition: wait.cxx:145
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