Thread: help needed in advancded serial port communication

  1. #1
    Registered User
    Join Date
    Mar 2011
    Location
    Noida
    Posts
    11

    help needed in advancded serial port communication

    I am doing serial port communication. And i know how to open and configure the port and how to read and write data on serial port.

    Now i want to create two threads one is Writer thread and another is reader thread; writer thread will write the data on serial port and reader thread will read it. Please tell me the concept how can i do it.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Location
    Noida
    Posts
    11
    ya i know....but nobody has given me the answer yet...so what should i do..

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Perhaps find another forum which is more Linux oriented. We're pretty good at the basic C and C++ issues, but when you start pushing deeper into the details of particular implementations (and talking with real hardware), the local expertese thins out pretty rapidly.

    I can't help you much at the moment, I'm on a beach until April.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Mar 2011
    Location
    Noida
    Posts
    11
    ohk budd...i will try somewhere else..thx fr ur suport..u enjoy ur bath at beach[:d]

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Duplex communication thro serial port
    By Priyachu in forum Networking/Device Communication
    Replies: 1
    Last Post: 05-30-2009, 04:24 AM
  2. Duplex communication thro serial port
    By Priyachu in forum Linux Programming
    Replies: 1
    Last Post: 05-30-2009, 04:03 AM
  3. Serial port Communication
    By vin_pll in forum C++ Programming
    Replies: 23
    Last Post: 01-07-2009, 09:32 AM
  4. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM
  5. Need help or info about serial port communication
    By Unregistered in forum Linux Programming
    Replies: 1
    Last Post: 01-08-2002, 01:48 PM