[gforth] / gforth / engine / signals.c  

gforth: gforth/engine/signals.c


Default branch: MAIN
Bookmark a link to HEAD: (view) (download) (as text)

Revision 1.52 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 31 15:25:19 2012 UTC (4 months, 3 weeks ago) by anton
Branch: MAIN
CVS Tags: HEAD
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
updated copyright year

Revision 1.51 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 20 19:34:27 2012 UTC (10 months ago) by pazsan
Branch: MAIN
Changes since 1.50: +12 -8 lines
Diff to previous 1.50
Refactoring for libgforth

Revision 1.50 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 26 16:34:35 2012 UTC (13 months, 4 weeks ago) by pazsan
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
use PER_THREAD

Revision 1.49 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 24 01:17:52 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48
More consistent use of %p, sigaltstack is back

Revision 1.48 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 23 22:39:00 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.47: +1 -1 lines
Diff to previous 1.47
Don't use alternate signal stack (collides with multithreading)

Revision 1.47 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 23 21:48:06 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
Looping setjmp, use %p where appropriate

Revision 1.46 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 23 20:49:44 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
throw_jmp_buf only through a handler in the per-thread space

Revision 1.45 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 23 19:53:37 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.44: +3 -3 lines
Diff to previous 1.44
Better signal debug info

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 23 19:32:25 2012 UTC (14 months ago) by pazsan
Branch: MAIN
Changes since 1.43: +17 -2 lines
Diff to previous 1.43
More debugging output in signal handler

Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 16 20:34:23 2012 UTC (14 months, 1 week ago) by pazsan
Branch: MAIN
Changes since 1.42: +1 -1 lines
Diff to previous 1.42
Exception handling for threads

Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 31 15:29:26 2011 UTC (16 months, 3 weeks ago) by anton
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
updated copyright years

Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 16 01:25:58 2011 UTC (18 months, 1 week ago) by pazsan
Branch: MAIN
Changes since 1.40: +1 -2 lines
Diff to previous 1.40
android gforth works, changed recurse, fixed creating a binary distribution (not fully completed yet)

Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 14 23:30:45 2011 UTC (18 months, 1 week ago) by pazsan
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39
config file for android compilation

Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 31 18:40:25 2007 UTC (5 years, 4 months ago) by anton
Branch: MAIN
CVS Tags: v0-7-0
Changes since 1.38: +2 -3 lines
Diff to previous 1.38
updated copyright notices for GPL v3

Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Dec 31 17:34:59 2007 UTC (5 years, 4 months ago) by anton
Branch: MAIN
Changes since 1.37: +1 -1 lines
Diff to previous 1.37
updated copyright years

Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 16 15:22:05 2007 UTC (5 years, 5 months ago) by anton
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
Some bugfixes and cleanups by Jorge Acereda <AE069F38-47DD-4037-9434-89A9489456EF@gmail.com>

Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 1 13:31:26 2007 UTC (6 years, 1 month ago) by pazsan
Branch: MAIN
Changes since 1.35: +1 -1 lines
Diff to previous 1.35
Added cygwin define

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 31 12:58:07 2007 UTC (6 years, 1 month ago) by pazsan
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
Work on Gforth NXT

Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 25 21:30:59 2007 UTC (6 years, 2 months ago) by pazsan
Branch: MAIN
Changes since 1.33: +2 -0 lines
Diff to previous 1.33
C-based Gforth EC starts to work

Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Dec 31 13:39:17 2006 UTC (6 years, 4 months ago) by anton
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
updated copyright years

Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 22 16:54:01 2006 UTC (6 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31
added checking for division by zero and division overflow to
  mixed-size division words (*/ */mod fm/mod sm/rem um/mod).
these exceptions are now tested in our test suite
fixed bug in testing

Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 21 22:13:49 2006 UTC (6 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.30: +8 -3 lines
Diff to previous 1.30
explicit checks for division by zero and overflow on division

Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 21 19:22:03 2006 UTC (6 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.29: +37 -30 lines
Diff to previous 1.29
added --ignore-async-signals
fixed typo

Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 5 01:37:33 2006 UTC (7 years, 4 months ago) by pazsan
Branch: MAIN
Changes since 1.28: +1 -1 lines
Diff to previous 1.28
Modified some exported symbols to start with gforth_

Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 20 09:23:46 2003 UTC (9 years, 9 months ago) by anton
Branch: MAIN
CVS Tags: v0-6-2
Changes since 1.27: +8 -0 lines
Diff to previous 1.27
Defined run-time routines (docol etc.) as primitives, eliminated some
  special-casing and "+DOESJUMP+1" etc. in engine.c and main.c
Defined the enum type PrimNum and replaced many shorts with PrimNums
  (gives nicer gdb output)
Workaround for the absence of the FPE_... macros in FreeBSD/Alpha 4_STABLE

Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 9 15:17:03 2003 UTC (10 years, 2 months ago) by anton
Branch: MAIN
CVS Tags: v0-6-0, v0-6-1
Changes since 1.26: +1 -1 lines
Diff to previous 1.26
updated copyright years

Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Mar 8 19:52:05 2003 UTC (10 years, 2 months ago) by anton
Branch: MAIN
Changes since 1.25: +8 -0 lines
Diff to previous 1.25
bug workaround (cygwin signal blocking)
minor changes

Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Feb 17 22:42:09 2003 UTC (10 years, 3 months ago) by anton
Branch: MAIN
Changes since 1.24: +3 -2 lines
Diff to previous 1.24
Gforth now works properly when its stdout is to a broken pipe (but not stderr)
special SIGPIPE throw code (-2049)
minor bugfix ("uncaught exception" is now printed on stderr)

Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 2 11:05:50 2003 UTC (10 years, 3 months ago) by anton
Branch: MAIN
Changes since 1.23: +22 -1 lines
Diff to previous 1.23
portability bugfixes
use SA_ONSTACK for all program-generated signals
updated README

Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 1 14:28:07 2003 UTC (10 years, 3 months ago) by anton
Branch: MAIN
Changes since 1.22: +6 -1 lines
Diff to previous 1.22
portability changes
bugfixes in prims2x.fs, kernel/int.fs

Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 20 17:07:41 2003 UTC (10 years, 4 months ago) by anton
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
undid changes to copyright notices

Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 19 23:35:34 2003 UTC (10 years, 4 months ago) by pazsan
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Updated copyright notices
Added stack effects to kernel/input.fs

Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 7 09:31:20 2003 UTC (10 years, 4 months ago) by anton
Branch: MAIN
Changes since 1.19: +5 -0 lines
Diff to previous 1.19
Some changes for portability to AIX and Darwin
Eliminated the (non-hybrid) direct threading stuff from arch/*/machine.h

Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 24 23:40:30 2002 UTC (10 years, 5 months ago) by anton
Branch: MAIN
Changes since 1.18: +2 -4 lines
Diff to previous 1.18
Gforth now supports large files (>2GB) on small machines (32-bits/cell).
forth.h now asks for all kinds of POSIX, X/Open, and GNU support.
rearranged include files such that forth.h precedes the system files.

Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 2 15:26:03 2002 UTC (10 years, 6 months ago) by anton
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
New file test/float.fs
FROUND-OFFSET now defined without f**
bugfix in signals (disabled SA_ONSTACK in most cases to allow graceful_exit).

Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 27 09:57:11 2002 UTC (10 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.16: +6 -0 lines
Diff to previous 1.16
FROUND is now implemented in high-level Forth.
  The primitive is now called "(FROUND)".

Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Oct 26 12:48:25 2002 UTC (10 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.15: +6 -0 lines
Diff to previous 1.15
work around missing MacOS X FPE_... si_codes

Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 25 15:57:03 2002 UTC (10 years, 7 months ago) by anton
Branch: MAIN
Changes since 1.14: +12 -2 lines
Diff to previous 1.14
Gforth now survives destruction of the C stack pointer (it now uses
  sigaltstack() to set up signal handling on another stack).

Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 14 08:40:24 2002 UTC (11 years, 4 months ago) by anton
Branch: MAIN
Changes since 1.13: +4 -2 lines
Diff to previous 1.13
Differentiate between threaded code and xts in gforth-ditc and in gforthmi

Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 5 22:59:00 2002 UTC (11 years, 4 months ago) by pazsan
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12
Thrown out static vocabulary stack
Changed cross to make mixed threading workable

Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 15 20:40:47 2001 UTC (11 years, 8 months ago) by pazsan
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11
Fix for terminals where TIOCGWINSZ doesn't work
Added bindkey to history.fs

Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 23 15:47:08 2000 UTC (12 years, 8 months ago) by anton
Branch: MAIN
CVS Tags: v0-5-0
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
changed FSF address in copyright messages

Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 23 15:06:08 2000 UTC (12 years, 8 months ago) by anton
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
updated copyright dates in many files (not in ec-related files)

Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jul 21 09:25:27 2000 UTC (12 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.8: +1 -1 lines
Diff to previous 1.8
updated BUGS

Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 14:17:55 2000 UTC (12 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7
fixed typo

Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 14:07:37 2000 UTC (12 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.6: +5 -0 lines
Diff to previous 1.6
signal portability improved

Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 14:00:01 2000 UTC (12 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5
fixed another signal bug

Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jul 20 13:29:43 2000 UTC (12 years, 10 months ago) by anton
Branch: MAIN
Changes since 1.4: +33 -20 lines
Diff to previous 1.4
signal handling bugfix (not yet portability tested)

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 7 21:40:37 1999 UTC (13 years, 9 months ago) by pazsan
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3
Made USE_TOS work with 386 on gcc 2.95

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 28 21:31:50 1999 UTC (14 years, 2 months ago) by anton
Branch: MAIN
Changes since 1.2: +77 -30 lines
Diff to previous 1.2
On platforms that support the SA_SIGINFO flag (Linux is not quite
  there yet), there are now new signal handlers that perform more
  precise error reporting (in particular for SIGFPE and SIGSEGV).
Minor fixes.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 28 14:50:44 1999 UTC (14 years, 2 months ago) by anton
Branch: MAIN
Changes since 1.1: +24 -3 lines
Diff to previous 1.1
started working on better signal handlers

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 28 08:37:45 1999 UTC (14 years, 2 months ago) by anton
Branch: MAIN
moved signal handling into a new file signals.c
minor changes to window size handling

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

View only Branch:

Sort log by:

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help