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

Function append_request_next

src/remote/server/server.cpp:2348–2369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2346
2347
2348static void append_request_next(server_req_t* request, server_req_t** que_inst)
2349{
2350/**************************************
2351 *
2352 * a p p e n d _ r e q u e s t _ n e x t
2353 *
2354 **************************************
2355 *
2356 * Functional description
2357 * Traverse using req_next ptr and append
2358 * a request at the end of a que.
2359 * Return count of pending requests.
2360 *
2361 **************************************/
2362 MutexLockGuard queGuard(request_que_mutex, FB_FUNCTION);
2363
2364 while (*que_inst)
2365 que_inst = &(*que_inst)->req_next;
2366
2367 *que_inst = request;
2368 ports_pending++;
2369}
2370
2371
2372static void addClumplets(ClumpletWriter* dpb_buffer,

Callers 2

link_requestFunction · 0.85
loopThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected