1. do_loop does not return anything. 2. Can functions passed to pthread_create have C++ linkage? -- -Dhruv Matani. http://www.geocities.com/dhruvbird/ Proud to be a Vegetarian. http://www.vegetarianstarterkit.com/ http://www.vegkids.com/vegkids/index.html