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

Method empty

tpool/tpool_structs.h:239–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237 {
238 }
239 bool empty() { return m_head == m_tail; }
240 bool full() { return (m_head + 1) % m_capacity == m_tail; }
241 void clear() { m_head = m_tail = 0; }
242 void resize(size_t new_size)

Callers 8

executeMethod · 0.45
~task_groupMethod · 0.45
wait_for_tasksMethod · 0.45
get_taskMethod · 0.45
check_idleMethod · 0.45
maintenanceMethod · 0.45
wakeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected