-
Notifications
You must be signed in to change notification settings - Fork 42
[V4] Cancellation 2.0 #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
80fea32
sketch
3acc32a
spell
28a7d5c
await suspend
73241e9
in final suspend
22c6a4d
todo
2ea7821
root declares what it is
cb49034
final suspend loop on cancel
5f67646
restore assert
a2af5da
remove pre-suspend check
81fb23b
owning parent
577bfec
return adr abstraction
80869f4
Revert "owning parent"
d7a175f
extra template param in pkg
d784a41
op overloads
9facc5c
check return is non null
194101d
todo
3926434
cancel propagation
b3ec305
PERF: move propagation to await_transform
37f99b5
PERF: move check
33a599f
Revert "PERF: move check"
7d5c1de
Revert "PERF: move propagation to await_transform"
1fda32b
split final suspend
953975b
Revert "remove pre-suspend check"
f9dac31
Reapply "remove pre-suspend check"
20d76d4
drop inline forcing
d38389b
revert owner split release
c80f7d7
unranched
4327a2b
Revert "unranched"
13b3f63
unique types in pkg
a5ca406
comments
97bbd71
better names
f53b1a0
rm comments
fe90470
full pre-release
764b6d8
full fused release
767eb38
Revert "full fused release"
12bb9c5
double branch reduced
da7054b
Revert "double branch reduced"
9fc5baa
fixup negation
3e21509
fixup todo
2817984
refactor names of final suspend parts
acc9a7a
set cancellation in await suspend
20141ee
unconditional cancel test
fcc1924
bad
2054432
Revert "bad"
2e56de7
Revert "unconditional cancel test"
a5e8f28
rm comment
6183c6e
constify
774ed44
add todo
20c26f0
add todo
30db539
cancel test
5d21d85
join cancel fix
1a9dafd
cancel fuzz
dd5f712
fix conditional
936d2c5
agents tweaks
84e7d5e
Revert "cancel fuzz"
19dbf7a
todo
696dcfb
first pass
5eeb0f2
second pass
6d97e26
touchup inculdes
c983c1d
drop C from bench
9a115c3
no fixed import
ef30fb2
all use full imports
6413dfc
tidy up cmakelists
bc609d7
alternative handling of cancel at join
947e203
further refine cancel path
a9f1be5
tmp
3f5c913
not all threads
0f86acc
don't use internal
339c5f0
complexity
87c992b
Revert "cancel test"
7e9e515
structure for stop.cxx
4746555
stop.cxx
0b20224
use stop.cxx
dea4509
better op names
571e2ca
todo
e679bf4
cancel tests
777e0e5
root package propagates exception
fe1edf1
stop plumbed
ecb1c24
fix infinite loop
c846cbc
access the stop source of the reciver
b84d13d
todo
e1e1ad8
allow early cancellation of root
37e763b
tmp cancel
632952e
co_await scope()
60b1635
no export stop source
75ef6ca
explicitly default initialize
258f325
basic cancel test
fab63ff
busy versions
1216892
tests
3b9bd7a
TMP no bind
7f9df1d
clean ups
d10808f
cancel notes
e7212c0
Revert "TMP no bind"
2d6d98b
move external to benchmark
82a5312
stop token
1c42326
use stop token
57bedec
split ops
8272469
markdown (delete before merge)
5ae91df
fix promise
d2ff9b3
fix tests
31bfee8
reciever changes
80f4e0d
todo
5161847
use scoped join
6764b4e
format
07f6f97
rename 1
56bbc33
rename 2
7cce296
rename 3
282f9a2
rename 4
a68264d
rename 5
f4cc3bc
rm dead file
9a2b0ac
rename 6
e077b35
rename 7
1581ec1
rename 8
c957159
restore comment
a957970
nicer name
bdb3d4e
complexity notes
06ba810
more tests
aa4af3f
dynamic section
37dc76e
rename
1759e34
gaurd max
6dd0f41
update comments
d42e9fb
drop branch
4e42502
drop template
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| cmake_minimum_required(VERSION 4.2.1 FATAL_ERROR) | ||
|
|
||
| project(uts_external LANGUAGES C) | ||
|
|
||
| add_library(uts_c) | ||
|
|
||
| target_sources(uts_c | ||
| PRIVATE | ||
| src/uts.c | ||
| src/rng/brg_sha1.c | ||
| PUBLIC | ||
| FILE_SET HEADERS | ||
| BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/include | ||
| FILES | ||
| include/uts/uts.h | ||
| include/uts/rng/rng.h | ||
| include/uts/rng/brg_sha1.h | ||
| include/uts/rng/brg_types.h | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../libfork_benchmark/uts/external/rng/rng.h → benchmark/external/uts/include/uts/rng/rng.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| #ifndef _RNG_H | ||
| #define _RNG_H | ||
|
|
||
| #include "brg_sha1.h" | ||
| #include "uts/rng/brg_sha1.h" | ||
|
|
||
| #endif /* _RNG_H */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ | |
| extern "C" { | ||
| #endif | ||
|
|
||
| #include "rng/rng.h" | ||
| #include "uts/rng/rng.h" | ||
|
|
||
| #define UTS_VERSION "2.1" | ||
|
|
||
|
|
||
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.