(已解决)多线程IllegalMonitorStateException报错

多线程IllegalMonitorStateException报错
说白了,就是需要在调用wait()或者notify()之前,必须使用synchronized语义绑定住被wait/notify的对象。(已解决)多线程IllegalMonitorStateException报错
错误示范
(已解决)多线程IllegalMonitorStateException报错
正确示范
(已解决)多线程IllegalMonitorStateException报错