Flutter Engine
The Flutter Engine
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Properties
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerator
b
c
d
e
f
g
h
k
l
m
n
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
third_party
dart-lang
sdk
pkg
vm_service
java
test
org
dartlang
vm
service
ResultLatch.java
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015, the Dart project authors.
3
*
4
* Licensed under the Eclipse Public License v1.0 (the "License"); you may not use this file except
5
* in compliance with the License. You may obtain a copy of the License at
6
*
7
* http://www.eclipse.org/legal/epl-v10.html
8
*
9
* Unless required by applicable law or agreed to in writing, software distributed under the License
10
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11
* or implied. See the License for the specific language governing permissions and limitations under
12
* the License.
13
*/
14
package
org.dartlang.vm.service;
15
16
/**
17
* {@link ResultLatch} is used by one thread to communicate a result to another thread.
18
*/
19
public
class
ResultLatch
<
T
>
extends
OpLatch
{
20
private
T
value;
21
22
public
T
getValue
() {
23
waitAndAssertOpComplete
();
24
return
value
;
25
}
26
27
public
void
setValue
(
T
value) {
28
this.value =
value
;
29
opComplete
();
30
}
31
}
org.dartlang.vm.service.OpLatch
Definition:
OpLatch.java:25
org.dartlang.vm.service.OpLatch.opComplete
void opComplete()
Definition:
OpLatch.java:40
org.dartlang.vm.service.OpLatch.waitAndAssertOpComplete
void waitAndAssertOpComplete()
Definition:
OpLatch.java:49
org.dartlang.vm.service.ResultLatch
Definition:
ResultLatch.java:19
org.dartlang.vm.service.ResultLatch.getValue
T getValue()
Definition:
ResultLatch.java:22
org.dartlang.vm.service.ResultLatch.setValue
void setValue(T value)
Definition:
ResultLatch.java:27
value
uint8_t value
Definition:
fl_standard_message_codec.cc:36
T
#define T
Definition:
precompiler.cc:65
Generated on Sun Jun 23 2024 21:55:22 for Flutter Engine by
1.9.4