This is a toy code which implements multi thread merge sort. You can get the algorithm on Introduction to Algorithms(Third version)