ThreadFactory.newThread

Constructs a new {@code Thread}. Implementations may also initialize priority, name, daemon status, {@code ThreadGroupEx}, etc.

@param r a runnable to be executed by new thread instance @return constructed thread, or {@code null} if the request to create a thread is rejected

  1. Thread newThread(Runnable r)
    interface ThreadFactory
    final
    Thread
    newThread
  2. Thread newThread(Action dg)

Meta