Closed jamesmasika closed 2 years ago
moodycamel::ConcurrentQueue performs better if using enqueue instead of try_enqueue. as below: this->enqueue(element); // while(!this->try_enqueue(element)) // spin_loop_pause();
que_test.tar.gz
in my scenario,i am more concerned about MPMC mode。
moodycamel::ConcurrentQueue performs better if using enqueue instead of try_enqueue. as below: this->enqueue(element); // while(!this->try_enqueue(element)) // spin_loop_pause();