* fixed solaris signal handling

git-svn-id: trunk@2881 -
This commit is contained in:
florian 2006-03-12 09:54:02 +00:00
parent 693412e70c
commit 5671bf276c
2 changed files with 4 additions and 3 deletions

View File

@ -63,9 +63,9 @@ const
SIGCANCEL = 36; { thread cancellation signal used by libthread }
SIGLOST = 37; { resource lost (eg, record-lock lost) }
SIG_BLOCK = 0;
SIG_UNBLOCK = 1;
SIG_SETMASK = 2;
SIG_BLOCK = 1;
SIG_UNBLOCK = 2;
SIG_SETMASK = 3;
SIG_DFL = 0 ;
SIG_IGN = 1 ;

View File

@ -69,6 +69,7 @@ begin
res:=214;
end;
end;
reenable_signal(sig);
{ give runtime error at the position where the signal was raised }
if res<>0 then
HandleErrorAddrFrame(res,addr,nil);