I have to develop a multithreaded application, where there will be multiple threads, each thread generates custom event log which need to be saved in queue (not Microsoft MS
Multiple producers, single consumer is the easiest scenario for multi threaded queue communication. A thread-queue can be implemented as a combination of condition variable/mutex and a std::queue (add a cv if you want to handle queue full).
The consumer waits on the cv while the queue is empty. the producers signal when adding to the queue (sending).