brpc
brpc copied to clipboard
butex的使用必须要bthread::butex_create_checked<uint32_t>()这样做么, 直接使用栈上的变量不行么
A design consideration is written in the comment. https://github.com/apache/brpc/blob/d5cdbe69a653684f6593b3448a685a27eb2621a1/src/bthread/butex.cpp#L197-L260