version 1.0 producer and comsumer using boost