mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-156 Threadpool - add thd_wait_begin/thd_wait_end to the network IO functions
This commit is contained in:
@@ -105,7 +105,9 @@ my_bool vio_is_connected(Vio *vio);
|
||||
ssize_t vio_pending(Vio *vio);
|
||||
#endif
|
||||
/* Set timeout for a network operation. */
|
||||
int vio_timeout(Vio *vio, uint which, int timeout_sec);
|
||||
extern int vio_timeout(Vio *vio, uint which, int timeout_sec);
|
||||
extern void vio_set_wait_callback(void (*before_wait)(void),
|
||||
void (*after_wait)(void));
|
||||
/* Connect to a peer. */
|
||||
my_bool vio_socket_connect(Vio *vio, struct sockaddr *addr, socklen_t len,
|
||||
int timeout);
|
||||
|
Reference in New Issue
Block a user