updated some comments in threads.c