MT safe queue implementation with :