parallel/queue: add capacity query
This commit is contained in:
parent
53255ca4a0
commit
4f4b812356
@ -52,6 +52,9 @@ namespace util::parallel {
|
||||
{ ; }
|
||||
|
||||
|
||||
static constexpr auto capacity (void) { return SizeV; }
|
||||
|
||||
|
||||
/// attempts to push a value to the queue
|
||||
///
|
||||
/// algorithm proceeds as follows:
|
||||
|
Loading…
Reference in New Issue
Block a user