Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/runtime/config/gen-unix-signals.h
ViewVC logotype

View of /sml/trunk/src/runtime/config/gen-unix-signals.h

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1781 - (download) (as text) (annotate)
Tue May 3 17:26:49 2005 UTC (15 years, 5 months ago) by jhr
File size: 716 byte(s)
  New scheme for managing signals in the runtime system that should avoid
  race conditions (thanks to Cynbe for the design).
/* gen-unix-signals.h
 * COPYRIGHT (c) 1995 AT&T Bell Laboratories.

typedef struct {
    int		    sig;	/* the UNIX signal code */
    char	    *sigName;	/* the symbolic name of the signal (i.e., */
				/* the #define name). */
    char	    *shortName;	/* the short name of the signal passed to ML */
} sig_desc_t;

typedef struct {
    sig_desc_t	    **sigs;	/* an ordered vector of signal descriptions */
    int		    numSysSigs;	/* the number of system signals */
    int		    numRunSigs; /* the number of runtime signals */
    int		    minSysSig;	/* the minimum system signal number. */
    int		    maxSysSig;	/* the maximum system signal number. */
} sig_info_t;

extern sig_info_t *SortSignalTbl ();

ViewVC Help
Powered by ViewVC 1.0.0