MCPcopy Create free account
hub / github.com/Tencent/phxsql / signal_done

Function signal_done

phx_percona/percona/sql/binlog.h:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 void signal_done(THD *queue) {
204 mysql_mutex_lock(&m_lock_done);
205 for (THD *thd= queue ; thd ; thd = thd->next_to_commit)
206 thd->transaction.flags.pending= false;
207 mysql_mutex_unlock(&m_lock_done);
208 mysql_cond_broadcast(&m_cond_done);
209 }
210
211private:
212 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected