Send never returns

Bob Cowdery bob at bobcowdery.plus.com
Thu Sep 30 12:13:02 PDT 2010


 Hi

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.

bob


More information about the Digitalmars-d-learn mailing list