xuyizhao opened a new issue #1476: URL: https://github.com/apache/incubator-brpc/issues/1476
不同的处理器架构下,cacheline的size不一定都是64字节。 src/brpc/socket.cpp文件: 将代码 BAIDU_CASSERT(sizeof(WriteRequest) == 64, sizeof_write_request_is_64); 改成 BAIDU_CASSERT(sizeof(WriteRequest) == BAIDU_CACHELINE_SIZE, sizeof_write_request_is_cacheline_size); 是否更合适。 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
