From: "oliver munz @ s p e a g" <munz@speag.ch>
To: ecos-discuss@sourceware.org
Subject: [ECOS] Is it possible to read and write from two different threads via the same fopen("/dev/ser0"...) handle ???
Date: Fri, 21 Apr 2006 20:21:00 -0000 [thread overview]
Message-ID: <44493EBD.7050708@speag.ch> (raw)
I want to read and write the same serial port from a reading thread and
from am other writeing thread. Should do this work?
I can do this via the cyg_io_read(...) and cyg_io_write(...) functions,
but the file-version dosn't worked... But may be i did it wrong...
Oliver
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2006-04-21 20:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-21 20:21 oliver munz @ s p e a g [this message]
2006-04-21 21:16 ` [ECOS] " Grant Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44493EBD.7050708@speag.ch \
--to=munz@speag.ch \
--cc=ecos-discuss@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).