author | Jan Vrany <jan.vrany@labware.com> |
Wed, 02 Aug 2023 13:04:52 +0100 | |
branch | jv |
changeset 25462 | 548cb62b20c7 |
parent 17911 | a99f15c5efa5 |
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 |
"{ Package: 'stx:libbasic' }" |
|
13 |
||
8834
5a785e6d7216
Error is now proceedable, since some OS-signals are not fatal.
Stefan Vogel <sv@exept.de>
parents:
8820
diff
changeset
|
14 |
ProceedableError subclass:#OSSignalInterrupt |
8329 | 15 |
instanceVariableNames:'' |
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Kernel-Exceptions-Control' |
|
19 |
! |
|
20 |
||
21 |
!OSSignalInterrupt class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
37 |
documentation |
|
38 |
" |
|
39 |
OSSignalInterrupt is raised, when an operating system signal has been received. |
|
40 |
The signal number is stored as parameter. |
|
41 |
||
8332 | 42 |
Since signals may be sent asynchronously, an OSSignalInterrupt is only raised, |
43 |
when handled in the current process. |
|
8329 | 44 |
|
8332 | 45 |
You can also bind an exception to an os signal with |
46 |
OperatingSystem>>#operatingSystemSignal:install: |
|
8329 | 47 |
" |
48 |
! ! |
|
49 |
||
50 |
!OSSignalInterrupt class methodsFor:'initialization'! |
|
51 |
||
52 |
initialize |
|
53 |
||
54 |
NotifierString := 'os signal interrupt'. |
|
55 |
||
56 |
" |
|
57 |
self initialize |
|
58 |
" |
|
59 |
! ! |
|
60 |
||
61 |
!OSSignalInterrupt class methodsFor:'documentation'! |
|
62 |
||
63 |
version |
|
17892 | 64 |
^ '$Header: /cvs/stx/stx/libbasic/OSSignalInterrupt.st,v 1.4 2005/04/11 08:53:28 stefan Exp $' |
17761
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
65 |
! |
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
66 |
|
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
67 |
version_SVN |
17911 | 68 |
^ '$Id: OSSignalInterrupt.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
8329 | 69 |
! ! |
70 |
||
17846 | 71 |
OSSignalInterrupt initialize! |
17892 | 72 |
|
17910 | 73 |
|
17911 | 74 |