synchronized SharedData
Init Consumer and Producer