Compare commits

..

3 Commits

Author SHA1 Message Date
rulingcom 0830746bf8 Bump version to 0.2.2 2024-03-02 16:35:11 +08:00
rulingcom c3405dcb69 Fix bug. 2024-03-02 16:25:49 +08:00
rulingcom 13c1e5f129 Fix bug. 2024-03-02 16:17:22 +08:00
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) # already called in SharedMemory
Proc.new{}
def self.make_finalizer(sem)
proc { SharedMemory::Foreign.shm_unlink(sem) }
end
# Create a new semaphore with initial value +value+. After