Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-27-2007, 07:51 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
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?
Old 10-27-2007, 08:17 AM   #2
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
There are a few mechanisms for this sort of thing. Have a read about dbus and see if it suits your needs. See:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
poepn or system function call executed by a background process kshkid Programming 1 08-24-2006 03:04 AM
How to call function in kernel vishalbutte Programming 10 02-07-2006 02:50 AM
How to call another function from a function? geminigal Programming 4 04-21-2005 10:41 PM
No Matching Function for Call ! vipinsharma Programming 2 07-05-2004 01:58 PM
how to call function?? harpal Programming 3 04-29-2003 05:59 AM

All times are GMT -5. The time now is 06:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration