Commit 109c92e
worker: initial implementation
Implement multi-threading support for most of the API.
Thanks to Stephen Belanger for reviewing this change in its
original form, to Olivia Hugger for reviewing the
documentation and some of the tests coming along with it,
and to Alexey Orlenko and Timothy Gu for reviewing other
parts of the tests.
Refs: ayojs/ayo#110
Refs: ayojs/ayo#114
Refs: ayojs/ayo#117
PR-URL: #20876
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Shingo Inoue <[email protected]>
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: John-David Dalton <[email protected]>
Reviewed-By: Gus Caplan <[email protected]>1 parent 314b47d commit 109c92e
File tree
44 files changed
+1630
-74
lines changed- doc/api
- lib
- internal
- bootstrap
- process
- util
- src
- test
- fixtures
- parallel
- sequential
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+1630
-74
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1323 | 1323 | | |
1324 | 1324 | | |
1325 | 1325 | | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
1326 | 1333 | | |
1327 | 1334 | | |
1328 | 1335 | | |
| |||
1723 | 1730 | | |
1724 | 1731 | | |
1725 | 1732 | | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
| 1738 | + | |
| 1739 | + | |
| 1740 | + | |
| 1741 | + | |
| 1742 | + | |
| 1743 | + | |
| 1744 | + | |
| 1745 | + | |
| 1746 | + | |
| 1747 | + | |
| 1748 | + | |
1726 | 1749 | | |
1727 | 1750 | | |
1728 | 1751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
413 | 415 | | |
414 | 416 | | |
415 | 417 | | |
| |||
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
| 522 | + | |
| 523 | + | |
520 | 524 | | |
521 | 525 | | |
522 | 526 | | |
| |||
918 | 922 | | |
919 | 923 | | |
920 | 924 | | |
| 925 | + | |
| 926 | + | |
921 | 927 | | |
922 | 928 | | |
923 | 929 | | |
| |||
1030 | 1036 | | |
1031 | 1037 | | |
1032 | 1038 | | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
1033 | 1042 | | |
1034 | 1043 | | |
1035 | 1044 | | |
| |||
1203 | 1212 | | |
1204 | 1213 | | |
1205 | 1214 | | |
| 1215 | + | |
1206 | 1216 | | |
1207 | 1217 | | |
1208 | 1218 | | |
| |||
1306 | 1316 | | |
1307 | 1317 | | |
1308 | 1318 | | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
1309 | 1322 | | |
1310 | 1323 | | |
1311 | 1324 | | |
| |||
1569 | 1582 | | |
1570 | 1583 | | |
1571 | 1584 | | |
| 1585 | + | |
1572 | 1586 | | |
1573 | 1587 | | |
1574 | 1588 | | |
| |||
1596 | 1610 | | |
1597 | 1611 | | |
1598 | 1612 | | |
| 1613 | + | |
1599 | 1614 | | |
1600 | 1615 | | |
1601 | 1616 | | |
| |||
1623 | 1638 | | |
1624 | 1639 | | |
1625 | 1640 | | |
| 1641 | + | |
1626 | 1642 | | |
1627 | 1643 | | |
1628 | 1644 | | |
| |||
1639 | 1655 | | |
1640 | 1656 | | |
1641 | 1657 | | |
| 1658 | + | |
1642 | 1659 | | |
1643 | 1660 | | |
1644 | 1661 | | |
| |||
1664 | 1681 | | |
1665 | 1682 | | |
1666 | 1683 | | |
| 1684 | + | |
1667 | 1685 | | |
1668 | 1686 | | |
1669 | 1687 | | |
| |||
1700 | 1718 | | |
1701 | 1719 | | |
1702 | 1720 | | |
| 1721 | + | |
| 1722 | + | |
1703 | 1723 | | |
1704 | 1724 | | |
1705 | 1725 | | |
| |||
1732 | 1752 | | |
1733 | 1753 | | |
1734 | 1754 | | |
| 1755 | + | |
| 1756 | + | |
1735 | 1757 | | |
1736 | 1758 | | |
1737 | 1759 | | |
| |||
1750 | 1772 | | |
1751 | 1773 | | |
1752 | 1774 | | |
| 1775 | + | |
| 1776 | + | |
1753 | 1777 | | |
1754 | 1778 | | |
1755 | 1779 | | |
| |||
1865 | 1889 | | |
1866 | 1890 | | |
1867 | 1891 | | |
| 1892 | + | |
| 1893 | + | |
1868 | 1894 | | |
1869 | 1895 | | |
1870 | 1896 | | |
| |||
1992 | 2018 | | |
1993 | 2019 | | |
1994 | 2020 | | |
| 2021 | + | |
1995 | 2022 | | |
1996 | 2023 | | |
1997 | 2024 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments