Commit e85a493
committed
Bug 1993981 - In MediaTrackGraphImpl natively support AudioWorklet's message passing. r=karlt
This patch does two things to support AudioWorklet:
- Supports target shutdown tasks.
- Exempts the IPC I/O Child thread from the tail dispatch requirement.
The IPC I/O Child thread does not support tail dispatch, and there are no
ordering requirements between those messages and any from other threads.
Prior to D277176, these messages went through GraphRunner::mThread. It was
given to the MessageChannel opened in the AudioWorklet through
GetCurrentSerialEventTarget().
Differential Revision: https://phabricator.services.mozilla.com/D2771771 parent 4cdd700 commit e85a493
2 files changed
Lines changed: 24 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
1916 | 1917 | | |
1917 | 1918 | | |
1918 | 1919 | | |
1919 | | - | |
| 1920 | + | |
1920 | 1921 | | |
1921 | 1922 | | |
1922 | 1923 | | |
| 1924 | + | |
1923 | 1925 | | |
1924 | | - | |
| 1926 | + | |
1925 | 1927 | | |
1926 | 1928 | | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
1927 | 1933 | | |
1928 | 1934 | | |
1929 | 1935 | | |
| |||
4462 | 4468 | | |
4463 | 4469 | | |
4464 | 4470 | | |
4465 | | - | |
4466 | | - | |
| 4471 | + | |
| 4472 | + | |
| 4473 | + | |
| 4474 | + | |
| 4475 | + | |
4467 | 4476 | | |
4468 | | - | |
| 4477 | + | |
4469 | 4478 | | |
4470 | 4479 | | |
4471 | 4480 | | |
| |||
4481 | 4490 | | |
4482 | 4491 | | |
4483 | 4492 | | |
4484 | | - | |
| 4493 | + | |
| 4494 | + | |
4485 | 4495 | | |
4486 | 4496 | | |
4487 | 4497 | | |
4488 | 4498 | | |
4489 | | - | |
| 4499 | + | |
| 4500 | + | |
4490 | 4501 | | |
4491 | 4502 | | |
4492 | 4503 | | |
4493 | | - | |
| 4504 | + | |
4494 | 4505 | | |
4495 | 4506 | | |
4496 | 4507 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
913 | 914 | | |
914 | 915 | | |
915 | 916 | | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
916 | 921 | | |
917 | 922 | | |
918 | 923 | | |
| |||
0 commit comments