Add minor explanatory comment.
This commit is contained in:
parent
a0d0c7575c
commit
0f00a7d444
|
@ -68,7 +68,7 @@ module ProcessShared
|
||||||
if @locked_by.get_int(0) > 0
|
if @locked_by.get_int(0) > 0
|
||||||
false # was locked
|
false # was locked
|
||||||
else
|
else
|
||||||
@sem.wait
|
@sem.wait # should return immediately
|
||||||
self.locked_by = ::Process.pid
|
self.locked_by = ::Process.pid
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue