Skip to content

Commit

Permalink
new method: AndMachine::Semaphore#signalled? returns internal state
Browse files Browse the repository at this point in the history
  • Loading branch information
coatl committed Jun 17, 2009
1 parent 988b5fa commit c61af06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions regcompiler.rb
Expand Up @@ -2112,6 +2112,10 @@ def wait
def signal
enq nil
end
def signalled?
size>0
end
end
def initialize progress, *regs
Expand Down

0 comments on commit c61af06

Please sign in to comment.