diff --git a/Atomic/Dropbox.h b/Atomic/Dropbox.h index a93babd..fb0ac73 100644 --- a/Atomic/Dropbox.h +++ b/Atomic/Dropbox.h @@ -130,13 +130,13 @@ namespace Alepha::Hydrogen::Atomic ::detail:: Dropbox_m return std::move( rv ); } - bool wouldBlock() { return weight > boxLimit; } + bool pushWouldBlock() { return weight > boxLimit; } void push( Item item ) { - if( wouldBlock() ) [[unlikely]] sendoff(); + if( pushWouldBlock() ) [[unlikely]] sendoff(); assertion( weight <= boxLimit ); auto &preparing= drops.producer.acquireBox();