Page MenuHome

[WIP] Compositor: WorkScheduler tests
Needs ReviewPublic

Authored by Manuel Castilla (manzanilla) on May 18 2021, 10:48 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Adds tests for WorkScheduler finish method on each threading model. Currently test for queue model fails because implementation waits only for works queue getting empty. Once queue is empty it should wait for last running work threads too.

Diff Detail

Repository
rB Blender
Branch
cmp-scheduler-tests (branched from master)
Build Status
Buildable 14882
Build 14882: arc lint + arc unit

Event Timeline

Manuel Castilla (manzanilla) requested review of this revision.May 18 2021, 10:48 PM
Manuel Castilla (manzanilla) created this revision.
Manuel Castilla (manzanilla) retitled this revision from Compositor: WorkScheduler tests to [WIP] Compositor: WorkScheduler tests.May 18 2021, 10:49 PM
  • Merge branch 'master' into cmp-scheduler-tests
  • Cleanups
  • Fix missing member after merge
  • Fix: Must specify package type to run custom functions
  • Fix: Works may not be executed, wait by time
  • Add more works than cpu threads so there may be some waiting