Sleeping until a file exists

Paul Sutcliffe Jr. paul at devon.lns.pa.us
Wed Dec 26 07:44:47 AEST 1990


dkeisen at Gang-of-Four.Stanford.EDU (Dave Eisen) writes:

>Is there any convenient way for a process (on Xenix 2.3.2 if that's relevant)
>to sleep on the event that a known (spool) directory gets modified by the 
>creation of a file in that directory? 

Do you mean "sleep until the directory gets modified, then do something"
or "do something until the directory gets modified, then sleep?"

- paul

INTERNET:  paul at devon.lns.pa.us      |   Most of us know how to say nothing.
UUCP:      ...!rutgers!devon!paul    |          Few of us know when!



More information about the Comp.unix.programmer mailing list