// Get reference to the thread running this
// code right now.
Thread runningNow = Thread.currentThread();