next_wait

next_wait(nonblock = nil)
Instance Public methods

Waits until any of the specified threads has terminated, and returns the one that does.

If there is no thread to wait, raises ErrNoWaitingThread. If nonblock is true, and there is no terminated thread, raises ErrNoFinishedThread.

doc_ruby_on_rails
2015-05-17 16:24:58
Comments
Leave a Comment

Please login to continue.