Add minor explanatory comment.
This commit is contained in:
1 parent
a0d0c7575c
commit
0f00a7d444
1 file changed
+1
-1
@@ -68,7 +68,7 @@ module ProcessShared
|
||||
if @locked_by.get_int(0) > 0
|
||||
false # was locked
|
||||
else
|
||||
@sem.wait
|
||||
@sem.wait # should return immediately
|
||||
self.locked_by = ::Process.pid
|
||||
true
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user