file-lock.c revision 2767104d81e97a109f0aa9758792bfa1da325a97
/* Copyright (c) 2002-2003 Timo Sirainen */
#include "lib.h"
#include "file-lock.h"
#include <time.h>
#include <signal.h>
{
}
{
}
void *context)
{
unsigned int next_alarm;
if (timeout == 0)
timeout_time = 0;
else {
}
alarm(0);
return 0;
}
alarm(0);
return -1;
}
alarm(0);
return 0;
}
if (next_alarm == 0)
next_alarm = 5;
}
alarm(0);
return 1;
}