Searched refs:lockfile (Results 1 – 25 of 34) sorted by relevance
12
35 def ExecFlock(self, lockfile, *cmd_list): argument42 fd = os.open(lockfile, os.O_WRONLY|os.O_NOCTTY|os.O_CREAT, 0666)
490 lockfile="$output_obj.lock"491 removelist="$removelist $output_obj $lockfile"495 lockfile=501 until $run ln "$0" "$lockfile" 2>/dev/null; do502 $show "Waiting for $lockfile to be removed"506 if test -f "$lockfile"; then508 *** ERROR, $lockfile exists and contains:509 `cat $lockfile 2>/dev/null`521 echo $srcfile > "$lockfile"579 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then[all …]
2141 lockfile="$output_obj.lock"2145 lockfile=2151 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do2152 func_echo "Waiting for $lockfile to be removed"2156 if test -f "$lockfile"; then2158 *** ERROR, $lockfile exists and contains:2159 `cat $lockfile 2>/dev/null`2172 $ECHO "$srcfile" > "$lockfile"2176 func_append removelist " $lockfile"2207 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
2139 lockfile="$output_obj.lock"2143 lockfile=2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do2150 func_echo "Waiting for $lockfile to be removed"2154 if test -f "$lockfile"; then2156 *** ERROR, $lockfile exists and contains:2157 `cat $lockfile 2>/dev/null`2170 $ECHO "$srcfile" > "$lockfile"2174 func_append removelist " $lockfile"2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
842 lockfile="$output_obj.lock"843 removelist="$removelist $output_obj $lockfile"848 lockfile=854 until $run ln "$progpath" "$lockfile" 2>/dev/null; do855 $show "Waiting for $lockfile to be removed"859 if test -f "$lockfile"; then861 *** ERROR, $lockfile exists and contains:862 `cat $lockfile 2>/dev/null`874 $echo "$srcfile" > "$lockfile"936 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
1194 lockfile="$output_obj.lock"1195 removelist="$removelist $output_obj $lockfile"1200 lockfile=1206 until $run ln "$progpath" "$lockfile" 2>/dev/null; do1207 $show "Waiting for $lockfile to be removed"1211 if test -f "$lockfile"; then1213 *** ERROR, $lockfile exists and contains:1214 `cat $lockfile 2>/dev/null`1226 $echo "$srcfile" > "$lockfile"1288 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
871 lockfile="$output_obj.lock"872 removelist="$removelist $output_obj $lockfile"877 lockfile=883 until $run ln "$progpath" "$lockfile" 2>/dev/null; do884 $show "Waiting for $lockfile to be removed"888 if test -f "$lockfile"; then890 *** ERROR, $lockfile exists and contains:891 `cat $lockfile 2>/dev/null`903 $echo "$srcfile" > "$lockfile"965 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
879 lockfile="$output_obj.lock"880 removelist="$removelist $output_obj $lockfile"885 lockfile=891 until $run ln "$progpath" "$lockfile" 2>/dev/null; do892 $show "Waiting for $lockfile to be removed"896 if test -f "$lockfile"; then898 *** ERROR, $lockfile exists and contains:899 `cat $lockfile 2>/dev/null`911 $echo "$srcfile" > "$lockfile"973 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
1291 lockfile="$output_obj.lock"1295 lockfile=1301 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do1302 func_echo "Waiting for $lockfile to be removed"1306 if test -f "$lockfile"; then1308 *** ERROR, $lockfile exists and contains:1309 `cat $lockfile 2>/dev/null`1322 $ECHO "$srcfile" > "$lockfile"1326 removelist="$removelist $lockfile"1358 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
1292 lockfile="$output_obj.lock"1296 lockfile=1302 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do1303 func_echo "Waiting for $lockfile to be removed"1307 if test -f "$lockfile"; then1309 *** ERROR, $lockfile exists and contains:1310 `cat $lockfile 2>/dev/null`1323 $ECHO "$srcfile" > "$lockfile"1327 removelist="$removelist $lockfile"1359 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
1299 lockfile="$output_obj.lock"1303 lockfile=1309 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do1310 func_echo "Waiting for $lockfile to be removed"1314 if test -f "$lockfile"; then1316 *** ERROR, $lockfile exists and contains:1317 `cat $lockfile 2>/dev/null`1330 $ECHO "$srcfile" > "$lockfile"1334 removelist="$removelist $lockfile"1366 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]
1793 lockfile="$output_obj.lock"1797 lockfile=1803 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do1804 func_echo "Waiting for $lockfile to be removed"1808 if test -f "$lockfile"; then1810 *** ERROR, $lockfile exists and contains:1811 `cat $lockfile 2>/dev/null`1824 $ECHO "$srcfile" > "$lockfile"1828 removelist="$removelist $lockfile"1860 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then[all …]