multi-thread directory