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

Function wqueue_release_queue

mysys/wqueue.c:142–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140*/
141
142void wqueue_release_queue(WQUEUE *wqueue)
143{
144 struct st_my_thread_var *last= wqueue->last_thread;
145 struct st_my_thread_var *next= last->next;
146 struct st_my_thread_var *thread;
147 do
148 {
149 thread= next;
150 mysql_cond_signal(&thread->suspend);
151 next= thread->next;
152 thread->next= NULL;
153 }
154 while (thread != last);
155 wqueue->last_thread= NULL;
156}
157
158
159/**

Callers 7

find_blockFunction · 0.85
read_big_blockFunction · 0.85
read_blockFunction · 0.85
pagecache_write_partFunction · 0.85
free_blockFunction · 0.85
flush_cached_blocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected