Respect the user-provided number of entries to be displayed#11398
Respect the user-provided number of entries to be displayed#11398vepadulano merged 1 commit intoroot-project:masterfrom
Conversation
|
Starting build on |
ikabadzhov
left a comment
There was a problem hiding this comment.
The clang format should be fixed. But other than that and my minor comment, the PR looks good to me! Thanks for taking care of this!
|
Build failed on mac11/cxx14. Warnings:
|
|
Build failed on mac1015/cxx17. Warnings:
Failing tests: |
b7704c0 to
2dbf7a2
Compare
|
Starting build on |
eguiraud
left a comment
There was a problem hiding this comment.
LGTM, but see below for an alternative fix that might result in overall simpler code (might be subjective :) ).
2dbf7a2 to
d7c1403
Compare
|
Starting build on |
d7c1403 to
0845519
Compare
|
Starting build on |
Fixes root-project#11390 Improves the workflow of `DisplayHelper::Exec` as follows: * The number of entries left to be displayed is now a data member of the action helper, not of RDisplay. * Early exit from the method if there are no more entries to process. * Otherwise, add one row to the display table and decrement by one the data member of the helper. * When there are no more entries to process for the first time, send a signal upstream that work is done for this node of the graph. Co-authored-by: Enrico Guiraud <[email protected]>
0845519 to
935f1b1
Compare
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
|
Starting build on |
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
|
PR build will fail because of missing: #11490, so cancelling for now. |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
|
Build failed on windows10/cxx14. Failing tests: |
|
@phsft-bot build |
|
Starting build on |
|
Build failed on ROOT-ubuntu2004/python3. Errors:
|
|
Build failed on windows10/cxx14. |
Fixes #11390
Improves the workflow of
DisplayHelper::Execas follows:RDisplay::HasNext. If so, add one row to the display objectStopProcessingis done only once with a boolean flag, to avoid early stop of the execution due to more stop signals than the children who actually have finished their job.