A multithread framework in Queue mode.