thread-pool icon indicating copy to clipboard operation
thread-pool copied to clipboard

[FEATURE] Investigate Using a Lock Free Queue

Open DeveloperPaul123 opened this issue 3 years ago • 2 comments

I'm curious to see if a lock-free queue significantly improves performance for the thread pool. We should do some tests with industry standard lock free queues in combination with std::move_only_function to see the difference in performance.

Queues/deques to test:

  • https://github.com/ConorWilliams/ConcurrentDeque
  • https://github.com/cameron314/concurrentqueue

DeveloperPaul123 avatar Oct 05 '22 15:10 DeveloperPaul123

https://github.com/erez-strauss/lockfree_mpmc_queue

DeveloperPaul123 avatar Apr 26 '24 17:04 DeveloperPaul123

Got an implementation in #54 but having trouble addressing some pesky bugs as I can't pin down the reason for them. Could use some assistance.

DeveloperPaul123 avatar Aug 18 '24 03:08 DeveloperPaul123