Producer-consumer (not complet yet).