* sigproc.h (sigframe): Don't set frame info unless tid matches this thread id.

This commit is contained in:
Christopher Faylor
2000-05-18 05:05:58 +00:00
parent 12e659efa8
commit 77303e2d83
2 changed files with 6 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ public:
sigframe () {st = NULL;}
sigframe (sigthread &t, int up = 1)
{
if (!t.frame || t.id == GetCurrentThreadId ())
if (!t.frame && t.id == GetCurrentThreadId ())
set (t, up);
else
st = NULL;