Fix bug.
This commit is contained in:
parent
4cd4344f13
commit
cd0031e36e
|
@ -46,8 +46,8 @@ module ProcessShared
|
||||||
# +shm_unlink+ on +sem+.
|
# +shm_unlink+ on +sem+.
|
||||||
#
|
#
|
||||||
# @return [Proc] a finalizer
|
# @return [Proc] a finalizer
|
||||||
def self.make_finalizer(sem)
|
def self.make_finalizer(sem) # already called in SharedMemory
|
||||||
proc { LibC.shm_unlink(sem) }
|
proc {}
|
||||||
end
|
end
|
||||||
|
|
||||||
# Create a new semaphore with initial value +value+. After
|
# Create a new semaphore with initial value +value+. After
|
||||||
|
|
Loading…
Reference in New Issue