WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 225361
[webkitscmpy] Scope classes used in TaskPool to object
https://bugs.webkit.org/show_bug.cgi?id=225361
Summary
[webkitscmpy] Scope classes used in TaskPool to object
Jonathan Bedard
Reported
2021-05-04 10:41:11 PDT
I found myself needing to access some of TaskPool's helper classes in
https://bugs.webkit.org/show_bug.cgi?id=225221
and realized the organization of TaskPool's helper classes needed some improvement.
Attachments
Patch
(10.95 KB, patch)
2021-05-04 10:45 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-05-04 10:41:39 PDT
<
rdar://problem/77514131
>
Jonathan Bedard
Comment 2
2021-05-04 10:45:29 PDT
Created
attachment 427685
[details]
Patch
dewei_zhu
Comment 3
2021-05-04 14:53:53 PDT
Comment on
attachment 427685
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=427685&action=review
> Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:256 > + cls.queue = queue
Is this used anywhere other than `cls.queue = None`?
Jonathan Bedard
Comment 4
2021-05-04 15:42:20 PDT
Comment on
attachment 427685
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=427685&action=review
>> Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:256 >> + cls.queue = queue > > Is this used anywhere other than `cls.queue = None`?
Not yet. The motivation for this is to allow worker processes to pass messages to their parent explicitly. This is particularly helpful when running test suites, where we may be able to partially report results to our parent process before finishing the entirety of our shard.
dewei_zhu
Comment 5
2021-05-04 16:29:16 PDT
Comment on
attachment 427685
[details]
Patch r=me
EWS
Comment 6
2021-05-04 17:00:22 PDT
Committed
r276997
(
237317@main
): <
https://commits.webkit.org/237317@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 427685
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug