jamesge commented on issue #693: brpc have not similiar pthread_detach? 
thread_join() is blocked 
URL: https://github.com/apache/incubator-brpc/issues/693#issuecomment-474777255
 
 
   bthreads are "detached" by default and joined or not-joined freely decided 
by users. You can perfectly start a bthread and leave it alone, and it will be 
ended and recycled when the entry function(passed to bthread_start) ends, where 
you can also release your resources. This is different from pthreads, which in 
my mind is more convenient.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to