You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/01/03 08:04:43 UTC

[GitHub] [incubator-brpc] zptan opened a new issue #975: pthread模式能否使用server-thread-local

zptan opened a new issue #975: pthread模式能否使用server-thread-local
URL: https://github.com/apache/incubator-brpc/issues/975
 
 
   从doc里看到
   
   > 在实现上server-thread-local是一个特殊的bthread-local
   
   https://github.com/apache/incubator-brpc/blob/master/docs/cn/server.md#server-thread-local
   
   我们的服务因为某种原因暂时只能运行在brpc pthread模式下,想问下是否还能使用server-thread-local sotrage?
   
   如果目前不能,有什么办法能让使用thread local storage的代码不依赖`-usercode_in_pthread`开关:
   
   - bthread mode - bthread local storage
   - pthread mode - pthread local storage
   

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


With regards,
Apache Git Services

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