Passing parameters to the ThreadStart delegate.