Hi,
I tried to utilize MPMC in my MPSC test by relaxing read operation. In tryObtainReadyPopTicket() function, atomic popTicket_ is used to make sure multiple consumer will not conflict each other.
Can I change this popTicket_ from atomic to normal uint64_t to transform MPMC to MPSC if I have only one thread to read data from that queue?
The same thing with SPMC situation: change pushTicket_ from atomic to normal uint64_t?
Thank.