lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV signal handling


From: T.E.Dickey
Subject: Re: LYNX-DEV signal handling
Date: Mon, 17 Feb 1997 14:29:53 -0500 (EST)

> >> Under all Unix systems with which I am familiar, this sequence should be
> >> unnecessary.  If a process is exiting, it is committed to doing so; no
> >> special signal processing should be necessary.
> >some (?) implementors are doing buffer allocation in exit(); there is the
> >possibility that this will fail (or the process may get hung).  I have a 
> >hunch
> >that this code addresses a problem on some system where it happened to bite
> >someone.
> 
>       exit() is a macro in Lynx which invokes a great deal of additional
> code.  SIGINT is used on VMS, despite the inference Bela drew from those
> code snippets.  The signal and exit handling in Lynx are very complex,
> too complex to explain in an email message.  It might be a good idea if
> both of you built a debug version and walked through all that is happened
> before modifying any of it based on inspections of snippets.
I'm busy doing other things, and was making a recommendation.  (I can see
the use of LYexit, however my comment about the use of EXIT_SUCCESS
vs 0 or other values is something that you should take into consideration).

-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]