concurrent API提供了一个名为Lock的类,它将序列化控件以访问关键资源。它给出了park()和unpark()等方法。如果我们可以使用synchronized关键字并使用wait()和n