Link to home
Start Free TrialLog in
Avatar of ambuli
ambuliFlag for United States of America

asked on

sending signal and handling in a shared library

Hi Experts,

I am working on a shared library to provide some functionality.  I want to be able to set some attributes when this library is loaded and running in a process.  For example, I want to set the log level of my library based on some signals.  For example,  when the user wants to change the log level, he can change some attributes and notify the process somehow.  How can I detect this signal.  I am working on Linux.
ASKER CERTIFIED SOLUTION
Avatar of Duncan Roe
Duncan Roe
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Being in a shared library makes no difference, except the application should not use the same signal and nor should any other libraries it loads.
Avatar of ambuli

ASKER

Thank you very much hope for the good explanation. Much appreciated.