This commit is contained in:
邱博亞 2024-03-03 11:46:16 +08:00
parent 4cd4344f13
commit cd0031e36e
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ module ProcessShared
# +shm_unlink+ on +sem+.
#
# @return [Proc] a finalizer
def self.make_finalizer(sem)
proc { LibC.shm_unlink(sem) }
def self.make_finalizer(sem) # already called in SharedMemory
proc {}
end
# Create a new semaphore with initial value +value+. After