You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
laforge49 edited this page Nov 9, 2011
·
2 revisions
The MessengerThreadFactory class is a very simple implementation of java.util.ThreadFactory and is used to create the threads used for asynchronous message passing.
/**
* The MessengerThreadFactory is used to create threads.
*/
class MessengerThreadFactory extends ThreadFactory {
/**
* The newThread method returns a newly created Thread.
*/
def newThread(runnable: Runnable) = new Thread(runnable)
}