diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 21:14:40 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-03-30 21:14:40 +0100 |
commit | 245c4bd7c89733d940b0b12bf4e8ebf11bbb6e64 (patch) | |
tree | a0a0ef569c032929d552312f4800d5e74a01ceab | |
parent | 6d9fa1026b7397780ff598ef1d9e2171ab475919 (diff) | |
download | serenity-245c4bd7c89733d940b0b12bf4e8ebf11bbb6e64.zip |
Kernel: Add a bit of debug output in do_exec() to learn about thread counts.
-rw-r--r-- | Kernel/Process.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 0179e84ae4..6df7a1e2db 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -285,6 +285,7 @@ int Process::do_exec(String path, Vector<String> arguments, Vector<String> envir { ASSERT(is_ring3()); + dbgprintf("%s(%d) do_exec: thread_count() = %d\n", m_name.characters(), m_pid, thread_count()); // FIXME(Thread): Kill any threads the moment we commit to the exec(). ASSERT(thread_count() == 1); |