This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6990] Parent pid lost after using raise() in child process
- From: "halesh dot s at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 28 Oct 2008 10:04:27 -0000
- Subject: [Bug libc/6990] Parent pid lost after using raise() in child process
- References: <20081028093753.6990.halesh.s@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From halesh dot s at gmail dot com 2008-10-28 10:04 -------
When I compile with -lpthread its working fine.
# gcc -o raise_test raise_test.c -lpthread
# ./raise_test
I am child - 15051
x = 1
SIGNAL CAUGHT
I am parent - 15050
x = 1
Without lpthread
# ./raise_test
-bash-3.2# ./a.out
I am child - 15053
SIGNAL CAUGHT
x = 1
I am parent - 15053
x = 1
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6990
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.