Ports
May 21, 2013, 09:06:10 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Pages: [1]
  Print  
Author Topic: Best examples of seperate thread for comms  (Read 865 times)
GlennP
Frequent Contributor
****
Posts: 126


« 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    Roll Eyes   
Logged
Jan Axelson
Administrator
Frequent Contributor
*****
Posts: 1628


WWW
« Reply #1 on: January 23, 2012, 09:59:36 am »

Yes, delegates use threads.

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

Jan
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!