Please sign in to comment.
Add sizeGuess() member to ProducerConsumerQueue
Summary: This is part 1 of a change to add hysteretic behavior to a blocking queue based on ProducerConsumerQueue. Knowing the size is useful for monitoring and possibly for objects that contain a ProducerConsumerQueue. Test Plan: Added tiny test-case. Tests pass Reviewed By: firstname.lastname@example.org FB internal diff: D496787
- Loading branch information...
Showing with 23 additions and 3 deletions.