To override this behavior, you can install your own signal handlers. This may seriously cripple any threads that linger beyond the death of the main thread. It's possible to create an application in which the main thread sets up one or more other threads, gets them running, and then dies. But such applications should be rare. In general, you should try to keep your main thread around until all other threads in the team are dead.
Every thread has a message cache .
You can also pass data to thread through a port. Arbitrarily deep, ports are more flexible than the message cache. See Ports for details. Inc. All rights reserved. .