walterzhaoJR commented on code in PR #3417:
URL: https://github.com/apache/brpc/pull/3417#discussion_r3671886677
##########
BUILD.bazel:
##########
@@ -370,6 +370,23 @@ cc_library(
}),
)
+cc_library(
+ # Header-only interface so :bvar can use RecursiveMutex without depending
on
+ # :bthread (which itself depends on :bvar). Implementation lives in
:bthread.
+ name = "bthread_recursive_mutex",
+ hdrs = [
+ "src/bthread/recursive_mutex.h",
+ "src/bthread/types.h",
+ ],
+ includes = [
+ "src/",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":butil",
+ ],
+)
Review Comment:
@chenBright
--
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]