Commit f5c15ce
committed
Merge bitcoin-core/libmultiprocess#323: refactor: access ThreadContext through CurrentThread(), ci: switch Bitcoin Core to master
66298c7 ci: Switch back to Bitcoin Core's master branch (Hennadii Stepanov)
86b4810 refactor: access ThreadContext through CurrentThread() (Sjors Provoost)
Pull request description:
This is a minimal subset from bitcoin#318 needed to match the shim introduced by bitcoin#35084. Should unblock bitcoin#322, see bitcoin-core/libmultiprocess#322 (comment).
Include bitcoin#322 here, because CI will not pass now since bitcoin#35084 merged.
ACKs for top commit:
xyzconstant:
ACK 66298c7
hebasto:
ACK 66298c7.
ViniciusCestarii:
ACK 66298c7
ryanofsky:
Code review ACK 66298c7. This nicely separates the `CurrentThread` refactoring from the mingw bug workaround. But it's misleading to call this a minimal fix for compatibility, because a minimal fix would just be:
Tree-SHA512: 04cdb9f72c01279a7d9d8bd5735be5114dc6c37a5c66c5cab3e199d48c42da30d2db4c0bcd4f3bcf5508a04a52c78d63945b7ea9b605624353478872d38c5ebe6 files changed
+51-27Lines changed: 51 additions & 27 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .github/workflows
- include/mp
- src/mp
- test/mp/test
Expand file treeCollapse file tree
Open diff view settings
Collapse file
.github/workflows/bitcoin-core-ci.yml
Copy file name to clipboardExpand all lines: .github/workflows/bitcoin-core-ci.yml+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
22 | | - |
| 21 | + |
23 | 22 | |
24 | 23 | |
25 | 24 | |
|
Collapse file
+21-1Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
694 | 694 | |
695 | 695 | |
696 | 696 | |
697 | | - |
| 697 | + |
698 | 698 | |
699 | 699 | |
700 | 700 | |
| ||
934 | 934 | |
935 | 935 | |
936 | 936 | |
| 937 | + |
| 938 | + |
| 939 | + |
| 940 | + |
| 941 | + |
| 942 | + |
| 943 | + |
| 944 | + |
| 945 | + |
| 946 | + |
| 947 | + |
| 948 | + |
| 949 | + |
| 950 | + |
| 951 | + |
| 952 | + |
| 953 | + |
| 954 | + |
| 955 | + |
| 956 | + |
937 | 957 | |
938 | 958 | |
939 | 959 | |
Collapse file
+7-7Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
691 | 691 | |
692 | 692 | |
693 | 693 | |
694 | | - |
695 | | - |
696 | | - |
| 694 | + |
| 695 | + |
| 696 | + |
697 | 697 | |
698 | 698 | |
699 | 699 | |
| ||
702 | 702 | |
703 | 703 | |
704 | 704 | |
705 | | - |
706 | | - |
| 705 | + |
| 706 | + |
707 | 707 | |
708 | | - |
| 708 | + |
709 | 709 | |
710 | 710 | |
711 | | - |
| 711 | + |
712 | 712 | |
713 | 713 | |
714 | 714 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
93 | 93 | |
94 | 94 | |
95 | 95 | |
96 | | - |
| 96 | + |
97 | 97 | |
98 | 98 | |
99 | 99 | |
|
Collapse file
+19-14Lines changed: 19 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
42 | 42 | |
43 | 43 | |
44 | 44 | |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
45 | 50 | |
46 | 51 | |
47 | 52 | |
| ||
283 | 288 | |
284 | 289 | |
285 | 290 | |
286 | | - |
287 | | - |
288 | | - |
| 291 | + |
| 292 | + |
| 293 | + |
289 | 294 | |
290 | 295 | |
291 | 296 | |
| ||
479 | 484 | |
480 | 485 | |
481 | 486 | |
482 | | - |
483 | | - |
484 | | - |
485 | | - |
486 | | - |
| 487 | + |
| 488 | + |
| 489 | + |
| 490 | + |
| 491 | + |
487 | 492 | |
488 | 493 | |
489 | 494 | |
| ||
498 | 503 | |
499 | 504 | |
500 | 505 | |
501 | | - |
502 | | - |
503 | | - |
504 | | - |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
505 | 510 | |
506 | 511 | |
507 | 512 | |
508 | | - |
| 513 | + |
509 | 514 | |
510 | 515 | |
511 | 516 | |
| ||
517 | 522 | |
518 | 523 | |
519 | 524 | |
520 | | - |
| 525 | + |
521 | 526 | |
522 | 527 | |
523 | 528 | |
|
Collapse file
+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
462 | 462 | |
463 | 463 | |
464 | 464 | |
465 | | - |
| 465 | + |
466 | 466 | |
467 | 467 | |
468 | 468 | |
| ||
516 | 516 | |
517 | 517 | |
518 | 518 | |
519 | | - |
| 519 | + |
520 | 520 | |
521 | 521 | |
522 | 522 | |
|
0 commit comments