Table of Contents

Name

file_stall - wait for a file to appear

Synopsis

file_stall { flag } * filename

Description

This little utility is used by the SUIF makefile system to synchronize multiple nightly recompile runs using the same $SUIFHOME/src tree.

If filename already exists, there is no effect and file_stall exits immediately. Otherwise, it waits until filename appears and then exits. Either way, it returns a successful return code. It also prints a line to standard output reporting its results -- whether or not it had to wait and if it did wait, how long it did so.

Options

-name name
This says to use name in the output message. By default, the output message refers to filename.

-silent
This option causes the output message to be suppressed is there is no stall. If there is a wait, the output message is printed as usual.
--
This flag means ``end of options'' so subsequent arguments are not taken as flags, even if they begin with ``-''.

History

This program was written by Chris Wilson.


Table of Contents