BNP Paribas interview question

Implement a thread safe queue con-formant to POSIX APIs and specification. There are multiple readers and writers indefinitely reading/writing from/into the queue.

Interview Answer

Anonymous

12 Jul 2010

use mutex, condition variables.