Inter-process communication-General Linux technology-Linux programming and kernel information. The following is a detailed description. Now I have modified the etc/init. d/rcS file to the following:
./Main. out &
Sleep 5
Source modules/load_env.sh
./7105_qt-qws
With this modification, I can now run two processes through nfs to display my qt interface on the screen. But I want to communicate between the main process and the qt process. I don't know how to do this?
Some people said that I should study d-bus, but I didn't find that stlinux has such support. I don't know if it does?
If I want to use fork to generate sub-processes as described in Advanced Programming in the unix environment, it seems that it cannot be successful? Is my main. out working in the background from the script?
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service