threads6.c added