adding threadtest.c