Clears the queue
| 237 | |
| 238 | /// Clears the queue |
| 239 | void clear() |
| 240 | { |
| 241 | auto pRec = m_FlatCombining.acquire_record(); |
| 242 | |
| 243 | constexpr_if ( c_bEliminationEnabled ) |
| 244 | m_FlatCombining.batch_combine( op_clear, pRec, *this ); |
| 245 | else |
| 246 | m_FlatCombining.combine( op_clear, pRec, *this ); |
| 247 | |
| 248 | assert( pRec->is_done()); |
| 249 | m_FlatCombining.release_record( pRec ); |
| 250 | } |
| 251 | |
| 252 | /// Exclusive access to underlying queue object |
| 253 | /** |
nothing calls this directly
no test coverage detected