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
base_isolate.h
Go to the documentation of this file.
1
// Copyright (c) 2012, 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
#ifndef RUNTIME_VM_BASE_ISOLATE_H_
6
#define RUNTIME_VM_BASE_ISOLATE_H_
7
8
#include "
platform/assert.h
"
9
#include "
vm/globals.h
"
10
11
namespace
dart
{
12
13
class
HandleScope;
14
class
StackResource;
15
class
Thread;
16
class
Zone;
17
18
// A BaseIsolate contains just enough functionality to allocate
19
// StackResources. This allows us to inline the StackResource
20
// constructor/destructor for performance.
21
class
BaseIsolate
{
22
public
:
23
#if defined(DEBUG)
24
static
void
AssertCurrent(
BaseIsolate
* isolate);
25
#endif
26
27
protected
:
28
BaseIsolate
() {}
29
30
~BaseIsolate
() {
31
// Do not delete stack resources: top_resource_ and current_zone_.
32
}
33
34
Thread
*
scheduled_mutator_thread_
=
nullptr
;
35
36
// Stores the saved [Thread] object of a mutator. Mutators may retain their
37
// thread even when being descheduled (e.g. due to having an active stack).
38
Thread
*
mutator_thread_
=
nullptr
;
39
40
private
:
41
DISALLOW_COPY_AND_ASSIGN(
BaseIsolate
);
42
};
43
44
}
// namespace dart
45
46
#endif
// RUNTIME_VM_BASE_ISOLATE_H_
assert.h
dart::BaseIsolate
Definition:
base_isolate.h:21
dart::BaseIsolate::~BaseIsolate
~BaseIsolate()
Definition:
base_isolate.h:30
dart::BaseIsolate::scheduled_mutator_thread_
Thread * scheduled_mutator_thread_
Definition:
base_isolate.h:34
dart::BaseIsolate::BaseIsolate
BaseIsolate()
Definition:
base_isolate.h:28
dart::BaseIsolate::mutator_thread_
Thread * mutator_thread_
Definition:
base_isolate.h:38
dart::Thread
Definition:
thread.h:342
dart
Definition:
dart_vm.cc:33
globals.h
Generated on Sun Jun 23 2024 21:55:26 for Flutter Engine by
1.9.4