|
From: Eyal L. <ey...@ey...> - 2004-01-04 04:40:43
|
Attached is a small program that demonstrates the problem. HTH. eyal@e7:~$ sh vg1.sh gcc version: 2.95.4 /home/eyal/zz.c(60) will pthread_attr_init /home/eyal/zz.c(63) pthread_attr_init=0 /home/eyal/zz.c(66) will pthread_create /home/eyal/zz.c(70) pthread_create=0 /home/eyal/zz.c(73) will pthread_attr_destroy /home/eyal/zz.c(76) pthread_attr_destroy=0 /home/eyal/zz.c(79) will pthread_join /home/eyal/zz.c(21) thread alive! zz.log /home/eyal/zz.c(34) wait() failed /home/eyal/zz.c(39) child returned 0 /home/eyal/zz.c(82) pthread_join=0 eyal@e7:~$ vi vg1.sh ***** set --trace-children=yes ***** eyal@e7:~$ sh vg1.sh gcc version: 2.95.4 /home/eyal/zz.c(60) will pthread_attr_init /home/eyal/zz.c(63) pthread_attr_init=0 /home/eyal/zz.c(66) will pthread_create /home/eyal/zz.c(70) pthread_create=0 /home/eyal/zz.c(73) will pthread_attr_destroy /home/eyal/zz.c(76) pthread_attr_destroy=0 /home/eyal/zz.c(79) will pthread_join /home/eyal/zz.c(21) thread alive! /home/eyal/zz.c(34) wait() failed /home/eyal/zz.c(44) child did not exit normally /home/eyal/zz.c(47) child received signal 11 /home/eyal/zz.c(82) pthread_join=0 eyal@e7:~$ -- Eyal Lebedinsky (ey...@ey...) <http://samba.org/eyal/> |