mycounter=++counter;
	ProducerConsumerBuf() : Buffer(),mutex(SDL_CreateMutex()),producing(true),consuming(true),id(0),window(2048)		{		 mycounter=++counter;		cerr << "Created PCB " << mycounter <<endl;		 }