Method: Tinkerforge::IPConnection#unwait
- Defined in:
- lib/tinkerforge/ip_connection.rb
#unwait ⇒ Object
Unwaits the thread previously stopped by wait.
Wait and unwait act in the same way as “acquire” and “release” of a semaphore.
784 785 786 |
# File 'lib/tinkerforge/ip_connection.rb', line 784 def unwait @waiter_queue.push nil end |