MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / wakeup

Method wakeup

src/remote/server/server.cpp:145–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 }
144
145 void wakeup(unsigned int wakeLength, const void* wakeData)
146 {
147 if (replyLength > wakeLength)
148 replyLength = wakeLength;
149
150 if (wakeData)
151 {
152 memcpy(replyData, wakeData, replyLength);
153 wake = true;
154 }
155 else
156 stop();
157
158 sem.release();
159 }
160
161 void stop()
162 {

Callers

nothing calls this directly

Calls 1

releaseMethod · 0.45

Tested by

no test coverage detected