Rev 1595 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1595 | Rev 1597 | ||
---|---|---|---|
Line 83... | Line 83... | ||
83 | void exc_dispatch(int n, istate_t *istate) |
83 | void exc_dispatch(int n, istate_t *istate) |
84 | { |
84 | { |
85 | ASSERT(n < IVT_ITEMS); |
85 | ASSERT(n < IVT_ITEMS); |
86 | 86 | ||
87 | exc_table[n].f(n + IVT_FIRST, istate); |
87 | exc_table[n].f(n + IVT_FIRST, istate); |
- | 88 | /* This is a safe place to exit exiting thread */ |
|
- | 89 | if (THREAD && THREAD->interrupted && istate_from_uspace(istate)) |
|
- | 90 | thread_exit(); |
|
88 | } |
91 | } |
89 | 92 | ||
90 | /** Default 'null' exception handler */ |
93 | /** Default 'null' exception handler */ |
91 | static void exc_undef(int n, istate_t *istate) |
94 | static void exc_undef(int n, istate_t *istate) |
92 | { |
95 | { |