November 24, 2024, 02:16:37 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Implement observer pattern across the processes  (Read 6231 times)

Offline nmittal80

  • New Member
  • Posts: 1
Implement observer pattern across the processes
« 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