Adding changes in octhread related to Process Event