Skip to content
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

Support Co::cancel() #4247

Merged
merged 15 commits into from
Jun 3, 2021
Merged

Support Co::cancel() #4247

merged 15 commits into from
Jun 3, 2021

Conversation

matyhtf
Copy link
Member

@matyhtf matyhtf commented Jun 3, 2021

No description provided.

@codecov
Copy link

codecov bot commented Jun 3, 2021

Codecov Report

Merging #4247 (c1b8379) into master (4eed1a6) will increase coverage by 0.04%.
The diff coverage is 45.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4247      +/-   ##
==========================================
+ Coverage   50.75%   50.80%   +0.04%     
==========================================
  Files          70       70              
  Lines       14098    14132      +34     
==========================================
+ Hits         7156     7180      +24     
- Misses       6942     6952      +10     
Impacted Files Coverage Δ
src/os/async_thread.cc 70.17% <0.00%> (+2.19%) ⬆️
src/os/wait.cc 69.56% <22.22%> (-4.56%) ⬇️
src/coroutine/base.cc 34.42% <43.75%> (+2.84%) ⬆️
src/coroutine/system.cc 32.88% <46.60%> (-0.30%) ⬇️
src/os/base.cc 39.13% <50.00%> (ø)
src/coroutine/socket.cc 38.95% <60.00%> (-0.02%) ⬇️
src/coroutine/context.cc 92.59% <100.00%> (ø)
src/os/process_pool.cc 57.89% <0.00%> (+0.45%) ⬆️
src/protocol/base.cc 65.13% <0.00%> (+1.97%) ⬆️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4eed1a6...c1b8379. Read the comment docs.

@matyhtf matyhtf merged commit f7ef45b into master Jun 3, 2021
@matyhtf matyhtf deleted the support-cancel-co branch June 3, 2021 10:50
@@ -6947,7 +6960,7 @@ static const char* swoole_library_source_core_coroutine_functions =
"\n"
"function go(callable $fn, ...$args)\n"
"{\n"
" Coroutine::create($fn, ...$args);\n"
" return Coroutine::create($fn, ...$args);\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里library少了个提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants