configure a thread object.
this vmethod is called when a new thread has been created and should be configured.