threadDemoPgms