Add test that LifoSemMPMCQueue::add does not throw when queue is not full
Summary: Add test to ThreadPoolTest that LifoSemMPMCQueue::add does not throw when queue is not full. The test fails before changing LifoSemMPMCQueue::add to use MPMCQueue::writeIfNotFull instead of MPMCQueue::write,and passes after the change. Reviewed By: djwatson Differential Revision: D13722155 fbshipit-source-id: 09e296f18eba5c3a78734284b5e409cf006951cc
Showing
Please register or sign in to comment