www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Send never returns


I'm just starting to debug some code and have run into a problem.  There
is a bit too much code to post so as a first shot I wondered if anyone
has had this happen.

I have a thread in a read loop reading from a USB device. When it
accumulates enough data it dispatches it to another thread. The read
loop is working fine and I can see the accumulated data but when I call
tid.send() it never returns. There are no errors. I have not put in
exception handling yet and wondered about the default behavior when
exceptions are not caught. Are they just passed up and spat out on the
console? I know it's a long shot but does anyone have any ideas.

Sep 30 2010