modify sem_multibuff_produce_consume