CVS: sml/src/runtime/mach-dep signal-sysdep.h,1.15,1.16

John Reppy <[email protected]>
Newsgroups gmane.comp.lang.sml.smlnj.commits
Message-ID <[email protected]>
Update of /cvsroot/smlnj/sml/src/runtime/mach-dep
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12916

Modified Files:
	signal-sysdep.h 
Log Message:
  Update comments and add missing macro definitions.


Index: signal-sysdep.h
===================================================================
RCS file: /cvsroot/smlnj/sml/src/runtime/mach-dep/signal-sysdep.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** signal-sysdep.h	23 Feb 2006 19:20:36 -0000	1.15
--- signal-sysdep.h	25 Feb 2006 01:15:52 -0000	1.16
***************
*** 1,5 ****
  /* signal-sysdep.h
   *
!  * COPYRIGHT (c) 1993 by AT&T Bell Laboratories.
   *
   * O.S. and machine dependent signal definitions for UNIX systems:
--- 1,5 ----
  /* signal-sysdep.h
   *
!  * COPYRIGHT (c) 2006 The SML/NJ Fellowship.
   *
   * O.S. and machine dependent signal definitions for UNIX systems:
***************
*** 15,18 ****
--- 15,20 ----
   *   SIG_SetPC(scp, addr)	set the PC in the context to the address
   *   SIG_SetHandler(sig, h)	set the signal handler
+  *   SIG_SetDefault(sig)	set the handler for sig to SIG_DFL
+  *   SIG_SetIgnore(sig)		set the handler for sig to SIG_IGN
   *   SIG_GetHandler(sig, h)	get the current handler into h
   *   SIG_Flags			flags used when setting a handler
***************
*** 138,141 ****
--- 140,145 ----
  	sigvec ((sig), &__svec, 0);         		\
      }
+ #define SIG_SetIgnore(sig)	SIG_SetHandler(sig, SIG_IGN)
+ #define SIG_SetDefault(sig)	SIG_SetHandler(sig, SIG_DFL)
  #define SIG_GetHandler(sig, h)  {			\
  	struct sigvec __svec;				\



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.