lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.11.2 vs lib/rbbt/util/concurrency/processes/socket.rb in rbbt-util-5.11.3
- old
+ new
@@ -7,10 +7,10 @@
attr_accessor :sread, :swrite, :write_sem, :read_sem
def initialize
@sread, @swrite = Misc.pipe
- key = rand(100000).to_s;
+ key = rand(100000000).to_s;
@write_sem = key + '.in'
@read_sem = key + '.out'
RbbtSemaphore.create_semaphore(@write_sem,1)
RbbtSemaphore.create_semaphore(@read_sem,1)
end