add code about blocking queue