blob: 7954e7ba87c1b9d1924f14e5050c9550fdaa5993 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
syntax = "proto3";
package tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "CriticalSectionProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf";
// Protocol buffer representing a CriticalSection.
message CriticalSectionDef {
// Name of the critical section handle.
string critical_section_name = 1;
}
// Protocol buffer representing a CriticalSection execution.
message CriticalSectionExecutionDef {
// Name of the critical section handle.
string execute_in_critical_section_name = 1;
// Whether this operation requires exclusive access to its resources,
// (i.e., no other CriticalSections may request the same resources).
bool exclusive_resource_access = 2;
}
|