summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/tests/cts/checkout/src/webgpu/api/operation/threading/README.txt
blob: caccf6f69d85fc25a9a73df5b9bf2970472413b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
Tests for behavior with multiple threads (main thread + workers).

TODO: plan and implement
- 'postMessage'
  Try postMessage'ing an object of every type (to same or different thread)
    - {main -> main, main -> worker, worker -> main, worker1 -> worker1, worker1 -> worker2}
    - through {global postMessage, MessageChannel}
    - {in, not in} transferrable object list, when valid
- 'concurrency'
  Short tight loop doing many of an action from two threads at the same time
    - e.g. {create {buffer, texture, shader, pipeline}}