Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 26. október 2026

Rozdiely pre ep/src/main.c medzi verziami 1.28 a 1.29

verzia 1.28, 2002/05/29 15:12:55 verzia 1.29, 2002/06/26 14:37:56
Riadok 21 
Riadok 21 
  * ep - extended pipelining   * ep - extended pipelining
  * coding start date: 11.11.2000   * coding start date: 11.11.2000
  * authors: Ondrej Jombik   * authors: Ondrej Jombik
 *          Lubomir Host   *          Lubomir Host
  *                      Martin Karas   *                      Martin Karas
  * Copyright (c) 2000-2002 Platon software development group   * Copyright (c) 2000-2002 Platon software development group
  * license: GNU General Public License   * license: GNU General Public License
Riadok 29 
Riadok 29 
   
 /* Notes:  /* Notes:
   
 * Now signal handler for every signal is installed. If SIG_CHLD detected, gloal   * Now signal handler for every signal is installed. If SIG_CHLD detected, gloal
 variable sig_chld is set. This change is printed out in main() in debug mode.   variable sig_chld is set. This change is printed out in main() in debug mode.
 No other usage of sig_chld variable is currently used.   No other usage of sig_chld variable is currently used.
   
 * When write() syscall fails (that means returning -1 or 0), particular   * When write() syscall fails (that means returning -1 or 0), particular
 proclinks to failed fd are removed and fd is closed.   proclinks to failed fd are removed and fd is closed.
   
  */  */
   
 #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
 #  include "config.h"  #  include "config.h"
Riadok 259  main(argc, argv)
Riadok 259  main(argc, argv)
                                                 FD_SET(ptbl[i]->fd[k].pipe[0], &rfds);                                                  FD_SET(ptbl[i]->fd[k].pipe[0], &rfds);
                                         }                                          }
                                         else {                                          else {
                                                 FD_SET(ptbl[i]->fd[k].pipe[1], &wfds);                                                  /* FD_SET(ptbl[i]->fd[k].pipe[1], &wfds); */
                                         }                                          }
   
                                         /* FD_SET(ptbl[i]->fd[k].pipe[k ? 0 : 1], &efds); */                                          /* FD_SET(ptbl[i]->fd[k].pipe[k ? 0 : 1], &efds); */
Riadok 296  main(argc, argv)
Riadok 296  main(argc, argv)
                 }                  }
 #if DEBUG  #if DEBUG
                 /*if (FD_ISSET(0, &rfds) && getchar() == 12)                  /*if (FD_ISSET(0, &rfds) && getchar() == 12)
                         proctable_print(ptbl);*/                    proctable_print(ptbl);*/
 #endif  #endif
 #if MENU  #if MENU
                 if (FD_ISSET(0, &rfds)) {                  if (FD_ISSET(0, &rfds)) {

Legend:
Odstranené z verzie1.28  
zmenené riadky
  Pridané vo verzii1.29

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok