zombie thread

Hi,

I've a client server system.

My client sends a message to server & starts a timer.

If the server does not respond with in the limit set by timer, timer goes off and the client shall throw an exception.

The problem is client seem to wirte the message to server socket, but it is not receiving response. Worst even, timer did n't go off. Client is indefinitely waiting.

When debugging with dbx, found that timer did go off but immediately timer thread became zombie.

[b]Can any one tell me when can these become zombies?[/b]

One scenario is: when there is no recipient for the result from a non-detached thread. But my timer is awaited by main thread.

Especially, it operated normally for more than 24 hours..

My Client is developed in C++ & uses pthreads on Solaris.

Thanks for ur time.

[866 byte] By [cppquerya] at [2007-11-27 0:51:24]
# 1
This is a Solaris thread issue, not a C++ issue. You are more likely to get an answer in one of the Solaris forums http://forum.java.sun.com/index.jspa?tab=solarisor in an Open Solaris discussion group http://www.opensolaris.org/os/discussions/
clamage45a at 2007-7-11 23:22:11 > top of Java-index,Development Tools,Solaris and Linux Development Tools...