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:
committed by
GitHub
parent
42730527c6
commit
dc34af61d7
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user