search for: pid_stat_table

Displaying 3 results from an estimated 3 matches for "pid_stat_table".

2002 Sep 03
2
[patch] for rsync
...0 child processes and make them available for use by wait_process. I hope I've done this right. Thanks for your help JW. Dave ---------------------------------------------------------------------------------- 29a30,34 > struct pid_status { > pid_t pid; > int status; > } pid_stat_table[10]; > 37c42,47 < while (waitpid(pid, status, WNOHANG) == 0) { --- > pid_t waited_pid; > int cnt; > > while ( 1 ) { > waited_pid = waitpid(pid, status, WNOHANG); > if ( waited_pid == 0 ) { 39a50 > } else break; 40a52,63 > if ((...
2002 Sep 01
2
rsync error: unexplained error
...ched at drstaples@beckman.com; drstaples@drstaples.com; or drstapl@empirenet.com Sincerely, David R. Staples -------------------------------------------------------------------------------- Proposed new code in main.c #typedef struct int pid; int status; } pid_status; pid_status pid_stat_table[10]; static RETSIGTYPE sigchld_handler(int val) { #ifdef WNOHANG int indx int pid; int status; do { pid = waitpid(-1, &status, WNOHANG); for ( indx = 0; indx < 10; indx++ ) { if ( pid_stat_table[indx].pid == 0 )...
2005 Sep 23
1
Unexplained error
Hello, I like to use rsync to transfer over mine and other peoples ever changing mail folder onto a remote server. My Server (FreeBSD 5.4) RSYNC Version is: 2.6.6 Protocol Version 29 My Client (OSX 10.4.2) RSYNC Version is: 2.6.3 Protocol Version 28 I use this command rsync -vvv --progress --stats --recursive --times \ --perms --links \ --delete /test/my?email?folder/*