This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6990] Parent pid lost after using raise() in child process


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]