Pergunta de entrevista da empresa NVIDIA

Create a synchronization barrier for a multithreaded task.