FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TCSystemCS/Thread/IMultipleTasksExecute.cs at develop · tgoessler/TCSystemCS · GitHub
tgoessler
TCSystemCS
Repository navigation
Code
Pull requests
6
(6)
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
TCSystemCS
/
Thread
/
IMultipleTasksExecute.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
48 lines (38 loc) · 1.75 KB
Breadcrumbs
TCSystemCS
/
Thread
/
IMultipleTasksExecute.cs
Copy path
File metadata and controls
48 lines (38 loc) · 1.75 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// *******************************************************************************
//
// ******* *** *** *
// * * * *
// * * * *****
// * * *** * * ** * ** ***
// * * * * * * * **** * * *
// * * * * * * * * * * *
// * *** *** * ** ** ** * *
// *
// *******************************************************************************
// see https://github.com/tgoessler/TCSystemCS for details.
// Copyright (C) 2003 - 2026 Thomas Goessler. All Rights Reserved.
// *******************************************************************************
//
// TCSystem is the legal property of its developers.
// Please refer to the COPYRIGHT file distributed with this source distribution.
//
// *******************************************************************************
#region Usings
using
System
;
using
System
.
Threading
;
#endregion
namespace
TCSystem
.
Thread
;
/// <summary>Executes actions with a bounded degree of concurrency.</summary>
public
interface
IMultipleTasksExecute
{
#region Public
/// <summary>Queues an action after a concurrency slot becomes available.</summary>
void
ExecuteCommand
(
Action
action
)
;
/// <summary>Queues an action after a concurrency slot becomes available, observing cancellation while waiting.</summary>
void
ExecuteCommand
(
Action
action
,
CancellationToken
token
)
;
/// <summary>Blocks until every queued action has completed.</summary>
void
WaitAllDone
(
)
;
/// <summary>Blocks until every queued action has completed or cancellation is requested.</summary>
void
WaitAllDone
(
CancellationToken
token
)
;
#endregion
}
Back
|
FazBrowse Home
|
New Git URL