mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:15:09 +00:00
Kernel: Add a bit of debug output in do_exec() to learn about thread counts.
This commit is contained in:
parent
6d9fa1026b
commit
245c4bd7c8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue