I\'m working on a consumer-producer pattern with a pool of processes/threads. There are 2 possible scenarios:
class MyC