Displaying 3 results from an estimated 3 matches for "time_expired".
Did you mean:
timer_expired
2004 Apr 19
3
[PATCH] time limit
...gt; 0);
+
+ gettimeofday(&tv, NULL);
+ expiration_time = start_time + (timelimit * 60);
+
+ return ( tv.tv_sec > expiration_time ) ? 1 : 0;
+}
/**
* Write len bytes to the file descriptor @p fd.
@@ -772,6 +793,7 @@
fd_set w_fds, r_fds;
int fd_count, count;
struct timeval tv;
+ int time_expired = 0;
msg_list_push(NORMAL_FLUSH);
@@ -837,6 +859,14 @@
}
sleep_for_bwlimit(ret);
+ if( timelimit ) {
+ time_expired = has_timelimit_expired();
+ if( 1 == time_expired ) {
+ rprintf(FERROR, RSYNC_NAME ": \n%d minute time limit exceeded.\n", timelimit);
+ exi...
2004 Apr 22
2
[PATCH] --timelimit and --stopat
...uot;ERROR: mktime() returned -1\n" );
+ exit_cleanup(RERR_SYNTAX);
+ }
+
+ now = time(NULL);
+
+ return ( now > stop_time_secs ) ? 1 : 0;
+}
/**
* Write len bytes to the file descriptor @p fd.
@@ -772,6 +825,7 @@
fd_set w_fds, r_fds;
int fd_count, count;
struct timeval tv;
+ int time_expired = 0;
msg_list_push(NORMAL_FLUSH);
@@ -837,6 +891,19 @@
}
sleep_for_bwlimit(ret);
+
+ if( timelimit ) {
+ time_expired = has_timelimit_expired();
+ if( 1 == time_expired ) {
+ rprintf(FERROR, RSYNC_NAME ": \n%d minute time limit exceeded.\n", timelimit);
+ e...
2004 Sep 23
10
MFC/R2
Hi all,
I have begun the release of my MFC/R2 protocol software. At
http://www.opencall.org/installing-mfcr2.html there are instructions for
installing what I have released so far. This is the MFC/R2 protocol
software, and a test program. The software to interface Asterisk to the
MFC/R2 code will be released shortly. It used to work, but it hasn't
been touched for a while, and Asterisk