Hi there,

I have an application using SMSLib.  I am running on a Windows
machine.

My application attempts to connects to ports which may or may not have
a compatible device attached to them.  I have noticed when my
application is shutting down, some threads handling serial connections
will block, e.g.:

Win32SerialPort.nwrite(byte[], int, int) line: not available [native
method]
Win32SerialPort.write(byte[], int, int) line: 672
Win32SerialPort.write(int) line: 664
Win32SerialOutputStream.write(int) line: 34
...etc.

There doesn't seem to be any clean way out of this, except for making
the thread which triggers this blocking call into a daemon thread.
Does this seem a reasonable solution?

Cheers,

Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib for Java User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to