* sigproc.h [sigthread]: Add exception field.

[sigframe::~sigframe]: Clear exception field.
[sigframe::set]: Set exception field from caller.
* sigproc.cc (sig_send): Set exception field when frame pointer is passed in.
* exceptions.cc (interrupt_on_return): Always treat exception as interruptible.
This commit is contained in:
Christopher Faylor
2001-04-25 19:11:37 +00:00
parent 86699e1555
commit 968d91b2e6
4 changed files with 16 additions and 3 deletions

View File

@@ -680,7 +680,7 @@ sig_send (_pinfo *p, int sig, DWORD ebp)
{
thiscatch = sigcatch_main;
thiscomplete = sigcomplete_main;
thisframe.set (mainthread, ebp);
thisframe.set (mainthread, ebp, 1);
}
}
else if (!(thiscatch = getsem (p, "sigcatch", 0, 0)))