LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Call function in another process (https://www.linuxquestions.org/questions/programming-9/call-function-in-another-process-595005/)

Gabbiadini 10-27-2007 07:51 AM

Call function in another process
 
Is there a way to make a function available in other processes?

What I need is the following:
A process contains a function that does some calculations on local variables. I want to be able for other processes to call this function and change the variables. Is this possible? If so what is the best way to this?

matthewg42 10-27-2007 08:17 AM

There are a few mechanisms for this sort of thing. Have a read about dbus and see if it suits your needs. See: http://www.freedesktop.org/wiki/Software/dbus


All times are GMT -5. The time now is 03:01 PM.