Skip to content

Commit f82518d

Browse files
Merge pull request #1712 from minglotus-6/threadsafe_status
Fix compilation error introduced for a revert. ThreadSafeStatus
2 parents d4aa581 + 87acc9b commit f82518d

File tree

5 files changed

+12
-169
lines changed

5 files changed

+12
-169
lines changed

tensorflow_serving/batching/BUILD

+12
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ cc_library(
7070
],
7171
)
7272

73+
cc_library(
74+
name = "threadsafe_status",
75+
srcs = ["threadsafe_status.cc"],
76+
hdrs = ["threadsafe_status.h"],
77+
deps = [
78+
"@com_google_absl//absl/base:core_headers",
79+
"@com_google_absl//absl/status",
80+
"@com_google_absl//absl/synchronization",
81+
"@org_tensorflow//tensorflow/core:lib",
82+
],
83+
)
84+
7385
cc_test(
7486
name = "batching_session_test",
7587
srcs = [

tensorflow_serving/batching/batching_session.h

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ limitations under the License.
3131
#include "tensorflow/core/platform/threadpool_options.h"
3232
#include "tensorflow/core/protobuf/meta_graph.pb.h"
3333
#include "tensorflow/core/public/session.h"
34-
#include "tensorflow_serving/batching/threadsafe_status.h"
3534
#include "tensorflow_serving/util/optional.h"
3635

3736
namespace tensorflow {

tensorflow_serving/batching/threadsafe_status.cc

-53
This file was deleted.

tensorflow_serving/batching/threadsafe_status.h

-62
This file was deleted.

tensorflow_serving/batching/threadsafe_status_test.cc

-53
This file was deleted.

0 commit comments

Comments
 (0)