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

Jul 12, 2010

use mutex, condition variables.