目录互斥锁自旋锁原子操作实操结果互斥锁 js临界区资源已经被1个线程占用,另一个线程过来访问临界资源的时候,会被CPU切换线程,不让运行后来的这个线程
I have a string input = "maybe (this is | that was) some ((nice | ugly) (day |night) | (strange (weather | time)))"