a blocking queue based on boost thread library