Repository navigation
Commit 4c3b303
committed
CoreLib: honor TMPDIR for shared memory and skip robust mutexes on OpenHarmony
Split per review: the NUMA and platform-identity changes moved to a separate PR.
This PR now only contains the shared-memory / named-mutex changes:
- SharedMemoryManager: use the TMPDIR-based shared files path (read-only /tmp)
- NamedMutex: do not use pthread robust mutexes on OpenHarmony
- MutexTests: derive the shared memory directory the same way the runtime does1 parent bd36a2d commit 4c3b303
3 files changed
Lines changed: 19 additions & 2 deletions
File tree
- src/libraries
- System.Private.CoreLib/src/System
- IO
- Threading
- System.Threading/tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
417 | 424 | | |
| 425 | + | |
418 | 426 | | |
419 | 427 | | |
420 | 428 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
1087 | | - | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
1088 | 1095 | | |
1089 | 1096 | | |
1090 | 1097 | | |
| |||
0 commit comments