Construct a new thread factory with given settings.
Construct a new thread factory with given settings.
a function that takes the thread counter (a positive integer) and gives the thread's name.
whether to construct daemon threads.
the priority of new threads.
the group of new threads.
Utility mechanisms for constructing thread factories.