how to use wait and notify in ksh on sun system?

From: Ryan Gaffuri (rgaffuri@cox.net)
Date: 04/22/03

  • Next message: scriptOmatic: "Re: how to use wait and notify in ksh on sun system?"
    From: rgaffuri@cox.net (Ryan Gaffuri)
    Date: 22 Apr 2003 07:22:45 -0700
    
    

    I need to run to processes. they will do somethings that require the
    use of two files. When they are both complete, I want to delete those
    files.

    So

    job scheduler runs monitor program.
    Monitor program executes multiple processes
    when processes complete, monitor deletes the files.

    can I do this with wait and notify? seems similiar to threads in java.
    any sample code? Im really weak in Unix and ksh at the moment. So any
    hand holding would be greatly appreciated.


  • Next message: scriptOmatic: "Re: how to use wait and notify in ksh on sun system?"