SWDEV-543340 - Remove shared memory objects after IPC event cleanup (#745)

This change ensures that shared memory objects (e.g., files in /dev/shm)
are unlinked once all related IPC events have been destroyed.
This commit is contained in:
Assiouras, Ioannis
2025-08-12 21:23:09 +01:00
committed by GitHub
parent 42730527c6
commit dc34af61d7
5 changed files with 19 additions and 11 deletions
+3
View File
@@ -505,6 +505,9 @@ std::string Os::getTempFileName() {
int Os::unlink(const std::string& path) { return ::_unlink(path.c_str()); }
// shm_unlink is a nop on windows
int Os::shm_unlink(const std::string& path) { return 0; }
void Os::cpuid(int regs[4], int info) { return __cpuid(regs, info); }
uint64_t Os::xgetbv(uint32_t ecx) { return (uint64_t)_xgetbv(ecx); }