Pergunta de entrevista da empresa KLA

design publisher-subscriber code for a multilevel priority queue(m no of priority queues, each Q size is n, and inter queue priority is 0,1,2,3... ) and T no of writer threads and T no of reader threads? how many synchronization objects are required?