MCPcopy Create free account
hub / github.com/MariaDB/server / start_io

Method start_io

sql/threadpool_win.cc:168–178  ·  view source on GitHub ↗

Start asynchronous read */

Source from the content-addressed store, hash-verified

166 Start asynchronous read
167*/
168int TP_connection_win::start_io()
169{
170 StartThreadpoolIo(io);
171 if (sock.begin_read())
172 {
173 /* Some error occurred */
174 CancelThreadpoolIo(io);
175 return -1;
176 }
177 return 0;
178}
179
180/*
181 Recalculate wait timeout, maybe reset timer.

Callers 1

tp_callbackFunction · 0.45

Calls 1

begin_readMethod · 0.80

Tested by

no test coverage detected