PORTS Forum

Ports and Interfaces => Serial Ports => Topic started by: GlennP on January 23, 2012, 05:18:09 am

Title: Best examples of seperate thread for comms
Post by: GlennP on January 23, 2012, 05:18:09 am
Hi All,
I have been struggling for weeks with an issue, it seems like I gone to every possible solution except threading.  I have spent some time over the weekend looking for an example of simple comms using threading. It seems like I am using a seperate thread with the delegates from Serial Port Complete Chapter 10 (Managing Ports and Transfers in .NET) but want to make sure. Belt & Braces defense against the board/firmwares designer reply "learn to do Serial comms properly" in front of the Boss, while scurrying off to fix problem. Politics Abound with this  project!

 Glenn    ::)   
Title: Re: Best examples of seperate thread for comms
Post by: Jan Axelson on January 23, 2012, 09:59:36 am
Yes, delegates use threads.

http://msdn.microsoft.com/en-us/magazine/cc301332.aspx

Jan