/[rserv]/misc/rserv_test.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /misc/rserv_test.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dpavlin, Wed Aug 6 17:38:26 2003 UTC revision 1.4 by dpavlin, Sun Aug 10 13:52:29 2003 UTC
# Line 52  for (my $i=0; $i < $numprocs; $i++) { Line 52  for (my $i=0; $i < $numprocs; $i++) {
52      my $pid = fork();      my $pid = fork();
53      if (! defined($pid)) {      if (! defined($pid)) {
54          print "Can't fork...\n";          print "Can't fork...\n";
55            exit;
56      } elsif ($pid == 0) {      } elsif ($pid == 0) {
57          doInserts($i+1);          doInserts($i+1);
58          exit;          exit;
59      } elsif ($pid != undef) {      } elsif ($pid) {
60          push @pids, $pid;          push @pids, $pid;
61      }      }
62  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26