remove Thread, Mutex, SyncEvent, add SpinLock