Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Linux in General => Linux Development & Programming => Topic started by: nmittal80 on October 14, 2010, 11:16:20 AM

Title: Implement observer pattern across the processes
Post by: nmittal80 on October 14, 2010, 11:16:20 AM
Hi,

How can we implement observer pattern across processes?

Say there is a process 1 & process 2. Process 1 takes some action depending on the contents in file say config.txt.

If process 2 changes config.txt then the notification should go to process 1.

How can we achieve this in linux?

Is using "Signals" a good idea?

I am totally new to Linux, so any help would be appreciated.

Thanks,
Nitin