Class: Mailbox::DaemonThreadFactory
- Inherits:
-
Object
- Object
- Mailbox::DaemonThreadFactory
- Defined in:
- lib/daemon_thread_factory.rb
Instance Method Summary collapse
Instance Method Details
#newThread(r) ⇒ Object
3 4 5 6 7 |
# File 'lib/daemon_thread_factory.rb', line 3 def newThread(r) thread = java.lang.Thread.new r; thread.set_daemon true; return thread; end |