exit 2

thr.exit â thr or nil
thr.kill â thr or nil
thr.terminate â thr or nil
Instance Public methods

Terminates thr and schedules another thread to be run. If this thread is already marked to be killed, exit returns the Thread. If this is the main thread, or the last thread, exits the process.

doc_ruby_on_rails
2015-05-17 13:15:24
Comments
Leave a Comment

Please login to continue.