how to get notified on termination of some another process in Linux

view full story

http://stackoverflow.com – I am running a process , from which I would like to get notification of the termination of some another process. In windows we can use WaitForSingleObject, by passing the handle of the process whos termination we are intersted in . I am new to Linux world , please suggest some approach. (HowTos)