How to trap signals in a shared library

R

RHNewBie

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

Mark McIntyre

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top