Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ParallelLoopState64.cs
Go to the documentation of this file.
1
namespace
System.Threading.Tasks
;
2
3
internal
sealed
class
ParallelLoopState64
:
ParallelLoopState
4
{
5
private
readonly
ParallelLoopStateFlags64
_sharedParallelStateFlags
;
6
7
private
long
_currentIteration
;
8
9
internal
long
CurrentIteration
10
{
11
get
12
{
13
return
_currentIteration
;
14
}
15
set
16
{
17
_currentIteration
=
value
;
18
}
19
}
20
21
internal
override
bool
InternalShouldExitCurrentIteration
=>
_sharedParallelStateFlags
.
ShouldExitLoop
(
CurrentIteration
);
22
23
internal
override
long
?
InternalLowestBreakIteration
=>
_sharedParallelStateFlags
.
NullableLowestBreakIteration
;
24
25
internal
ParallelLoopState64
(
ParallelLoopStateFlags64
sharedParallelStateFlags)
26
: base(sharedParallelStateFlags)
27
{
28
_sharedParallelStateFlags
= sharedParallelStateFlags;
29
}
30
31
internal
override
void
InternalBreak
()
32
{
33
ParallelLoopState
.
Break
(
CurrentIteration
,
_sharedParallelStateFlags
);
34
}
35
}
System.Threading.Tasks.ParallelLoopState64.InternalBreak
override void InternalBreak()
Definition
ParallelLoopState64.cs:31
System.Threading.Tasks.ParallelLoopState64._sharedParallelStateFlags
readonly ParallelLoopStateFlags64 _sharedParallelStateFlags
Definition
ParallelLoopState64.cs:5
System.Threading.Tasks.ParallelLoopState64.ParallelLoopState64
ParallelLoopState64(ParallelLoopStateFlags64 sharedParallelStateFlags)
Definition
ParallelLoopState64.cs:25
System.Threading.Tasks.ParallelLoopState64.InternalShouldExitCurrentIteration
override bool InternalShouldExitCurrentIteration
Definition
ParallelLoopState64.cs:21
System.Threading.Tasks.ParallelLoopState64.CurrentIteration
long CurrentIteration
Definition
ParallelLoopState64.cs:10
System.Threading.Tasks.ParallelLoopState64._currentIteration
long _currentIteration
Definition
ParallelLoopState64.cs:7
System.Threading.Tasks.ParallelLoopState64.InternalLowestBreakIteration
override? long InternalLowestBreakIteration
Definition
ParallelLoopState64.cs:23
System.Threading.Tasks.ParallelLoopState64
Definition
ParallelLoopState64.cs:4
System.Threading.Tasks.ParallelLoopStateFlags64.ShouldExitLoop
bool ShouldExitLoop(long CallerIteration)
Definition
ParallelLoopStateFlags64.cs:35
System.Threading.Tasks.ParallelLoopStateFlags64.NullableLowestBreakIteration
long? NullableLowestBreakIteration
Definition
ParallelLoopStateFlags64.cs:20
System.Threading.Tasks.ParallelLoopStateFlags64
Definition
ParallelLoopStateFlags64.cs:4
System.Threading.Tasks.ParallelLoopState.Break
void Break()
Definition
ParallelLoopState.cs:49
System.Threading.Tasks.ParallelLoopState
Definition
ParallelLoopState.cs:7
System.Threading.Tasks
Definition
TaskToApm.cs:3
System.ExceptionArgument.value
@ value
source
System.Threading.Tasks.Parallel
System.Threading.Tasks
ParallelLoopState64.cs
Generated by
1.10.0