hi,
I have developed an application in which one of the threads waits on a queue to read data. When i do pidin after running the app,it shows the thread in Reply state.However,after sometime the thread status changes to SEM and my thread doesnt wake up at all evebn if data is there on the queue. As a result,data gets depositing on queue and after sometime it becomes full. Would llike to know why does the thread go from Reply to sem state?Is it correct? Also,once it goes into sem state it never wakes up?
What could be the problem? Plz help.