-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[IM] Add refcount to CommandHandler for async commands #11367
Merged
erjiaqing
merged 4 commits into
project-chip:master
from
erjiaqing:im/command-handler-hold
Nov 12, 2021
Merged
[IM] Add refcount to CommandHandler for async commands #11367
erjiaqing
merged 4 commits into
project-chip:master
from
erjiaqing:im/command-handler-hold
Nov 12, 2021
Conversation
This file contains 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
pullapprove
bot
requested review from
andy31415,
anush-apple,
austinh0,
balducci-apple,
bzbarsky-apple,
carol-apple,
cecille,
chrisdecenzo,
chulspro,
Damian-Nordic,
electrocucaracha,
franck-apple,
harimau-qirex,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kpschoedel,
LuDuda,
mlepage-google,
msandstedt,
pan-apple,
robszewczyk,
sagar-apple,
saurabhst,
selissia,
tecimovic and
vivien-apple
November 3, 2021 11:44
mrjerryjohns
reviewed
Nov 4, 2021
kghost
reviewed
Nov 5, 2021
kghost
reviewed
Nov 5, 2021
mrjerryjohns
suggested changes
Nov 8, 2021
erjiaqing
force-pushed
the
im/command-handler-hold
branch
from
November 9, 2021 09:54
1e25629
to
e9035be
Compare
PR #11367: Size comparison from 372dc6a to e9035be Increases above 0.2%:
Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Decreases (5 builds for mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/command-handler-hold
branch
from
November 10, 2021 01:53
e9035be
to
0287191
Compare
(@kghost, #10332) Implement DeallocateAll and replace this.connectedhomeip/src/app/InteractionModelEngine.cpp Lines 73 to 78 in 0287191
This comment was generated by todo based on a
|
PR #11367: Size comparison from 22e3e9d to 0287191 Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Decreases (5 builds for mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/command-handler-hold
branch
from
November 10, 2021 06:29
0287191
to
faa0607
Compare
PR #11367: Size comparison from 30e1b97 to faa0607 Increases above 0.2%:
Increases (31 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
Decreases (5 builds for mbed, p6)
Full report (38 builds for efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
erjiaqing
force-pushed
the
im/command-handler-hold
branch
from
November 11, 2021 14:51
9dc6170
to
0718507
Compare
PR #11367: Size comparison from d45cfaa to 0718507 Increases above 0.2%:
Increases (19 builds for efr32, k32w, linux, p6, qpg, telink)
Decreases (2 builds for p6)
Full report (21 builds for efr32, k32w, linux, p6, qpg, telink)
|
mrjerryjohns
approved these changes
Nov 11, 2021
bzbarsky-apple
approved these changes
Nov 11, 2021
PSONALl
pushed a commit
to PSONALl/connectedhomeip
that referenced
this pull request
Dec 3, 2021
…11367) * [IM] Add refcount methnism for async background work * Invalid CommandHandler::Handle when chip stack shutdown * mRefCount -> mPendingWork * Upd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Some cluster commands requires async works (i.e. several commands in NetworkCommissioningCluster)
Change overview
AddRef
andDecRef
CommandHandler::Handle
class for RAII management.Testing
TestCommandSenderCommandAsyncSuccessResponseFlow