MultiThreading

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

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

-Erik