Called right after thread started.
Useful for initializing objects that work within this new thread.
a ThreadedObject