public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: e.coullien@faiveley.com
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Question on Posix Select function
Date: Mon, 19 Jun 2006 09:17:00 -0000	[thread overview]
Message-ID: <C1257192.00330CCC.00@smtp.faiveley.fr> (raw)



We are working on a package to complete the eCos Intrument package for
communicating with a PC software through Ethernet. The goal is to record in real
time the Instrument informations from the board to the PC and to watch a graph
to show tasks and other instrument traces.
If someone is interresting on, we can share it...

We began to graph a module with a SELECT function but we have some difficulties
to understand what we see on the Graph.
In a task, before sending, we call the select function. In fact the task which
calls the SELECT function is switching on even if the driver is not ready to
send.
So the graph shows that this task is active very often instead to sleep until
the driver is ready to send.
Do someone know how to explain this phenomenon and how does the Posix select
function really work ?

Thank you,

Emmanuel Coullien



































-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

             reply	other threads:[~2006-06-19  9:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-19  9:17 e.coullien [this message]
2006-06-20 10:34 ` Andrew Lunn

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=C1257192.00330CCC.00@smtp.faiveley.fr \
    --to=e.coullien@faiveley.com \
    --cc=ecos-discuss@ecos.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).