| 140 | */ |
| 141 | |
| 142 | void 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 | /** |
no outgoing calls
no test coverage detected