RongtongJin commented on issue #1643: 并发问题
URL: https://github.com/apache/rocketmq/pull/1643#issuecomment-564912681
 
 
   ServiceThread一般这样用
   ```java
   public void run(){
     while(!stop){
                waitForRunning(1000);
                //do something
        }
   }
   ```
   所以我认为waitPoint.reset()方法必须在waitPoint.await()之前。原本代码并没有错。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to