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
runtime
vm
thread_stack_resource.cc
Go to the documentation of this file.
1
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
#include "
vm/thread_stack_resource.h
"
6
7
#include "
platform/assert.h
"
8
#include "
vm/isolate.h
"
9
#include "
vm/thread.h
"
10
#include "
vm/zone.h
"
11
12
namespace
dart
{
13
14
ThreadStackResource::~ThreadStackResource
() {
15
#if defined(DEBUG)
16
if
(
thread
() !=
nullptr
) {
17
BaseIsolate::AssertCurrent(
reinterpret_cast<
BaseIsolate
*
>
(
isolate
()));
18
}
19
#endif
20
}
21
22
Isolate
*
ThreadStackResource::isolate
()
const
{
23
return
thread
()->
isolate
();
24
}
25
26
IsolateGroup
*
ThreadStackResource::isolate_group
()
const
{
27
return
thread
()->
isolate_group
();
28
}
29
30
}
// namespace dart
assert.h
dart::BaseIsolate
Definition:
base_isolate.h:21
dart::IsolateGroup
Definition:
isolate.h:268
dart::Isolate
Definition:
isolate.h:956
dart::ThreadStackResource::~ThreadStackResource
~ThreadStackResource()
Definition:
thread_stack_resource.cc:14
dart::ThreadStackResource::thread
Thread * thread() const
Definition:
thread_stack_resource.h:28
dart::ThreadStackResource::isolate_group
IsolateGroup * isolate_group() const
Definition:
thread_stack_resource.cc:26
dart::ThreadStackResource::isolate
Isolate * isolate() const
Definition:
thread_stack_resource.cc:22
dart::Thread::isolate
Isolate * isolate() const
Definition:
thread.h:534
dart::Thread::isolate_group
IsolateGroup * isolate_group() const
Definition:
thread.h:541
isolate.h
dart
Definition:
dart_vm.cc:33
thread.h
thread_stack_resource.h
zone.h
Generated on Sun Jun 23 2024 21:55:50 for Flutter Engine by
1.9.4