Question d’entretien chez Quectel

Design a thread-safe queue in C++ and explain your locking strategy.