pspp-dev
[Top][All Lists]
Advanced

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

[patch #6635] Wilcoxon signed rank test


From: Ben Pfaff
Subject: [patch #6635] Wilcoxon signed rank test
Date: Fri, 19 Sep 2008 04:10:53 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-1)

Follow-up Comment #1, patch #6635 (project pspp):

Good work.  It takes a lot of motivation, at least on my own part, to track
down implementations of code and then ask their authors to relicense it, and
so I admire that you have done it so successfully.

A few comments:

* "asymptotic" is misspelled in the documentation (extra "s").

* Regarding the signal handler, another way that you might consider, if it is
appropriate, is simply to set a variable from the signal handler, then
periodically that variable's value.  The code in src/libpspp/model-checker.c
does this, for example.

* Along the same lines, you might consider handling SIGINT also, so that the
user can interrupt the processing with ^C and no harm done.  (Probably, we
should make this apply to all PSPP commands at some point, but it seems fine
to me to special-case it for now.)

* I don't see any reason to use SA_NODEFER, unless it is to ensure that
jumping out of the signal handler does not leave the signal blocked forever. 
The conventional (and slightly safer) way to do that, I think, would be to use
sigsetjmp(). with "1" as the second argument, and siglonjmp(), in place of
plain setjmp() and longjmp()

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?6635>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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