# MultiThreading

**URL:** <https://forums.digi.com/t/multithreading/5182>\
**Category:** NET+OS\
**Created:** [May 12, 2004, 4:06pm UTC](https://forums.digi.com/t/multithreading/5182 "2004-05-12T16:06:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![egawtry](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@egawtry](https://forums.digi.com/u/egawtry)\
**Post date:** [May 12, 2004, 4:06pm UTC](https://forums.digi.com/t/multithreading/5182/1 "2004-05-12T16:06:19Z")

</div>

I have an application that is running several threads, and when I create a new thread, all the other threads die.

I am using the same parameters for all threads (16,16,10).

Threads in use:

1. Main.
2. Telnet Client.
3. SSH Server watch.

When I attempt to create the thread to run a Shell application, all the threads die (the application locks up). If I just leave things without creating a new thread, then one of the threads will randomly die (usually the main thread) and the other two will keep going.

Anyone with experiance or idea about this?

Thanks,  
-Erik

---

<div class="post-metadata">

**Author:** ![egawtry](https://avatars.discourse-cdn.com/v4/letter/e/8e8cbc/32.png) [@egawtry](https://forums.digi.com/u/egawtry)\
**Post date:** [May 27, 2004, 6:51pm UTC](https://forums.digi.com/t/multithreading/5182/2 "2004-05-27T18:51:09Z")

</div>

This turns out to be a NetOS reentrancy problem - see the new thread I created on this.

-Erik
