author | Claus Gittinger <cg@exept.de> |
Wed, 05 Jun 2019 20:08:48 +0200 | |
changeset 24257 | 3d3652e1f81c |
parent 8834 | 5a785e6d7216 |
child 17711 | 39faaaf888b4 |
permissions | -rw-r--r-- |
8329 | 1 |
" |
2 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
13 |
"{ Package: 'stx:libbasic' }" |
|
14 |
||
8834
5a785e6d7216
Error is now proceedable, since some OS-signals are not fatal.
Stefan Vogel <sv@exept.de>
parents:
8820
diff
changeset
|
15 |
ProceedableError subclass:#OSSignalInterrupt |
8329 | 16 |
instanceVariableNames:'' |
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Kernel-Exceptions-Control' |
|
20 |
! |
|
21 |
||
22 |
!OSSignalInterrupt class methodsFor:'documentation'! |
|
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
38 |
documentation |
|
39 |
" |
|
40 |
OSSignalInterrupt is raised, when an operating system signal has been received. |
|
41 |
The signal number is stored as parameter. |
|
42 |
||
8332 | 43 |
Since signals may be sent asynchronously, an OSSignalInterrupt is only raised, |
44 |
when handled in the current process. |
|
8329 | 45 |
|
8332 | 46 |
You can also bind an exception to an os signal with |
47 |
OperatingSystem>>#operatingSystemSignal:install: |
|
8329 | 48 |
" |
49 |
! ! |
|
50 |
||
51 |
!OSSignalInterrupt class methodsFor:'initialization'! |
|
52 |
||
53 |
initialize |
|
54 |
||
55 |
NotifierString := 'os signal interrupt'. |
|
56 |
||
57 |
" |
|
58 |
self initialize |
|
59 |
" |
|
60 |
! ! |
|
61 |
||
62 |
!OSSignalInterrupt class methodsFor:'documentation'! |
|
63 |
||
64 |
version |
|
8834
5a785e6d7216
Error is now proceedable, since some OS-signals are not fatal.
Stefan Vogel <sv@exept.de>
parents:
8820
diff
changeset
|
65 |
^ '$Header: /cvs/stx/stx/libbasic/OSSignalInterrupt.st,v 1.4 2005-04-11 08:53:28 stefan Exp $' |
8329 | 66 |
! ! |
67 |
||
68 |
OSSignalInterrupt initialize! |