Use spinlock instead of mutex for Threads and SplitPoint