Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cafffd84ce641f66540dacabbfd898cc19e7e3ca
      
https://github.com/WebKit/WebKit/commit/cafffd84ce641f66540dacabbfd898cc19e7e3ca
  Author: Dawn Morningstar <[email protected]>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py
    M 
Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py

  Log Message:
  -----------
  Modify task_pool to allow for repeated tasks that run alongside regular tasks.
rdar://164584838
https://bugs.webkit.org/show_bug.cgi?id=302420

Reviewed by Jonathan Bedard.

repeated tasks must be added to the taskpool instead of requeued,if they were 
requeued they would not repeat on a specific worker.

* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:
(_Message.__call__):
(_Task.__init__):
(_Result.__init__):
(_Result.__call__):
(_StopRepeat):
(_StopRepeat.__init__):
(_StopRepeat.__call__):
(_Process):
(_Process.main):
(TaskPool):
(TaskPool.do):
(TaskPool.wait):
* Tools/Scripts/libraries/webkitcorepy/webkitcorepy/tests/task_pool_unittest.py:
(simple_repeat_task):
(printing_repeat_task):
(TaskPoolUnittest.test_mutually_exclusive_group_hang):
(TaskPoolUnittest):
(TaskPoolUnittest.test_repeat_task_with_groups):
(TaskPoolUnittest.test_repeat_task_multiple_groups):
(TaskPoolUnittest.test_repeat_task_with_regular_grouped_tasks):
(TaskPoolUnittest.test_repeat_task_pool_state_tracking_forked):

Canonical link: https://commits.webkit.org/304186@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to