471,108 Members | 1,698 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

How to trap signals in a shared library

Hello,
I have an executable which uses two shared libraries(A and Z). I do not
have the source code for the executable. However I can tell the
executable to load the shared libraries and invoke API in the shared
libraries. One of the shared libraries(A) broadcasts a lwp_kill which
kills all the lwp's in shared library(A) and also in the executable. Is
there a way to ignore/trap signals from within library B?

Thanks.

Nov 13 '05 #1
1 1996
On Thu, 10 Jul 2003 13:33:32 GMT, in comp.lang.c , RHNewBie
<as**@asdf.com> wrote:
Hello,
I have an executable which uses two shared libraries(A and Z). I do not
have the source code for the executable. However I can tell the
executable to load the shared libraries and invoke API in the shared
libraries. One of the shared libraries(A) broadcasts a lwp_kill which
kills all the lwp's in shared library(A) and also in the executable. Is
there a way to ignore/trap signals from within library B?


This would be nothing to do with C, and everything to do with the
platform you're working on. You will need to ask in a group
specialising in your platform, which I suspect is some form of Linux,
so a unix group might help.
..
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.angelfire.com/ms3/bchambless0/welcome_to_clc.html>
----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Mantorok Redgormor | last post: by
11 posts views Thread by Jackie | last post: by
2 posts views Thread by shibu-kundara | last post: by
11 posts views Thread by vippstar | last post: by
2 posts views Thread by wongjoekmeu | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.