CodeZHXS opened a new pull request, #2988:
URL: https://github.com/apache/brpc/pull/2988

   ### What problem does this PR solve?
   
   Issue Number: #2983 
   
   Problem Summary: `TaskTracer::TraceImpl`, did not set the relevant 
variables(`m->traced`) on all return paths, which would cause a deadlock
   
   ### What is changed and the side effects?
   use `BRPC_SCOPE_EXIT` to ensure (`m->traced=false`).
   
   Changed: src/bthread/task_tracer.cpp `TaskTracer::TraceImpl()` function
   
   Side effects:
   - Performance effects: No
   
   - Breaking backward compatibility: No
   
   ---
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to