Factor out ReusablePool
PiperOrigin-RevId: 488783477
This commit is contained in:
committed by
Copybara-Service
parent
ab074a579a
commit
583d27636b
@@ -607,6 +607,7 @@ cc_library(
|
||||
":gpu_buffer",
|
||||
":gpu_shared_data_header",
|
||||
":multi_pool",
|
||||
":reusable_pool",
|
||||
"//mediapipe/framework:calculator_context",
|
||||
"//mediapipe/framework:calculator_node",
|
||||
"//mediapipe/framework/port:logging",
|
||||
@@ -615,6 +616,16 @@ cc_library(
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "reusable_pool",
|
||||
hdrs = ["reusable_pool.h"],
|
||||
deps = [
|
||||
":multi_pool",
|
||||
"@com_google_absl//absl/functional:any_invocable",
|
||||
"@com_google_absl//absl/synchronization",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "multi_pool",
|
||||
hdrs = ["multi_pool.h"],
|
||||
|
||||
Reference in New Issue
Block a user