Commit Graph

13 Commits (230e15f49956cd5aede56cf8152f4e8f1b5d4579)

Author SHA1 Message Date
Alok Priyadarshi a4e9917575
feat(mpmc_blocking_q): add blocking dequeue without timeout (#2588)
Use the new blocking dequeue to avoid unnecessarily waking up the
thread pool every 10s.

Fixes #2587 by replacing std::condition_variable::wait_for with
std::condition_variable::wait as a workaroung for gcc 11.3 issue 101978.

Co-authored-by: Alok Priyadarshi <alokp@dexterity.ai>
3 years ago
Konstantin Podsvirov 075dcee042 Twice tolerance waiting time with MinGW
Increased tolerance waiting time for MinGW in dequeue-empty-nowait test
case, because this test case not passed on slow and powerful computers.
5 years ago
gabime a8169a3d6b clang-format 5 years ago
gabime b2017f5653 Fixed multiple clang-tidy warnings 5 years ago
gabime c16eb80d7f Fixed multiple clang-tidy warnings 5 years ago
Gabi Melman 10578ff08c
Update test_mpmc_q.cpp 6 years ago
gabime 5d34d21f40 Fixed issue #842 in tests 7 years ago
gabime 5d7845c138 Added "clone()" support to loggers 7 years ago
gabime 8418131ae3 Fixed mpmc_q test for osx in travis 7 years ago
gabime 9ad9cfb898 Fixed mpmc_q test for osx in travis 7 years ago
gabime 3d58f8d471 code formatting 7 years ago
gabime 4a871b9792 Added some mpmc_q tests 7 years ago
gabime 057bf1b92d Added some mpmc_q tests 7 years ago