[BACK]Return to __exception.c CVS log [TXT][DIR] Up to [local] / prex-old / usr / lib / posix / signal

Diff for /prex-old/usr/lib/posix/signal/__exception.c between version 1.1.1.1 and 1.1.1.1.2.1

version 1.1.1.1, 2008/06/03 10:38:50 version 1.1.1.1.2.1, 2008/08/13 17:12:41
Line 34 
Line 34 
 #include <signal.h>  #include <signal.h>
 #include <stdlib.h>  #include <stdlib.h>
   
   void __exception_init(void);
   void __exception_exit(void);
   
 struct sigaction __sig_act[NSIG];  struct sigaction __sig_act[NSIG];
 sigset_t __sig_mask;  sigset_t __sig_mask;
 sigset_t __sig_pending;  sigset_t __sig_pending;
Line 120 
Line 123 
  * Exception handler for signal emulation   * Exception handler for signal emulation
  */   */
 static void  static void
 __exception_handler(int excpt, void *regs)  __exception_handler(int excpt)
 {  {
   
         if (excpt > 0 && excpt <= NSIG) {          if (excpt > 0 && excpt <= NSIG) {
Line 133 
Line 136 
                 SIGNAL_UNLOCK();                  SIGNAL_UNLOCK();
         }          }
         __sig_flush();          __sig_flush();
         exception_return(regs);          exception_return();
 }  }
   
 /*  /*

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.1.2.1

CVSweb