Man page for file_stall.1
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