Thread Programming(C.C++ and Java)