A bug in TSQueue.h fixed.