public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Øyvind Harboe" <oyvind.harboe@zylin.com>
To: ecos-discuss@sources.redhat.com
Cc: ezeq@cc.isel.ipl.pt
Subject: [ECOS] hal_delay_us() patch to at91_misc + multithreading
Date: Wed, 08 Jun 2005 11:24:00 -0000	[thread overview]
Message-ID: <1118229873.11654.24.camel@localhost.localdomain> (raw)

Original message:

http://sourceware.org/ml/ecos-discuss/2005-05/msg00357.html

Your fix seems approperiate. Perhaps you should try to post it to
ecos-patches?

Q: As near as I can tell, HAL_DELAY_US() is not thread safe in
at91_misc.c. Is this correctly observed?

I can't tell by reading the eCos documentation whether or not
hal_delay_us or HAL_DELAY_US is supposed to be thread safe.

http://sources.redhat.com/ecos/docs-2.0/ref/hal-interrupt-handling.html

The implementation of I2C uses hal_delay_us, but since I'm not currently
using that code(our home rolled I2C code has not been phased out yet),
I'm not sure whether or not interrupts are disabled while hal_delay_us()
is invoked inside the I2C code.

-- 
Øyvind Harboe
http://www.zylin.com


--
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:[~2005-06-08 11:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-08 11:24 Øyvind Harboe [this message]
2005-06-11 13:49 ` Bart Veer
2005-06-13 17:57   ` Øyvind Harboe
2005-06-13 18:54     ` Bart Veer
2005-06-15  6:22       ` Øyvind Harboe

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=1118229873.11654.24.camel@localhost.localdomain \
    --to=oyvind.harboe@zylin.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=ezeq@cc.isel.ipl.pt \
    /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).