brian odonoghue brianodonoghuekbsie using pthread_joinsomethread0 closing instanciated thread made pthread_tsomethread something like might help class la public pthread_tthread void thread_meint num lalala typedef struct list law struct listnext list_struct list_structhead void thread_meint num void add_to_listlao void delete_from_list int mainint argccharargv int a1 lalanew la thread new pthread_t add_to_listlala pthread_createthread0lalathread_mea thread new pthread_t add_to_listlala pthread_createthread0lalathread_mea delete_from_linked_list return 0 void lalathread_meint num printflalala pthread_jointhisthread0 return void add_to_listlao static list_structa anew list_struct awo anexthead heada return void delete_from_linked_list list_structa whileheadnull ahead headheadnext delete return irish linux users group iluglinuxie httpwwwlinuxiemailmanlistinfoilug unsubscription information list maintainer listmasterlinuxie tue 20 aug 2002 111659 0100 ilug linux pthreads problem