Re: Task threads are not killed at exit
Adam Lackorzynski <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri Jun 07, 2013 at 00:40:48 -0700, BogDan wrote: > Not all the task threads are killed when a task exits or it crashes. > I've created a simple example here: http://paste.kde.org/760274 > After application crashes (line 22), test thread is still alive, I still can > see "Test thread alive" message printed. What happens is that the thread executing 'main' is having a page fault while the other thread is doing fine. I guess exiting the app is easy in that case but nothing left for debugging. > If I call exit or return instead to crash the task, the test thread is still alive . That works fine for me. Adam -- Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/