public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "wangwei" <wangw@start.com.cn>
To: <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] about elix
Date: Thu, 24 May 2001 00:11:00 -0000	[thread overview]
Message-ID: <007901c0e41f$ef9655e0$592da8c0@start.com.cn> (raw)
In-Reply-To: <003b01c0e41b$0462af00$592da8c0@start.com.cn>

Hi:
I met a problem When tring nanox in ecos .
In file ntetris.c ,The function nanosleep() is called .
this function belong elix module ,file "time.cxx" ; it will call
pthread_self_info()
to get pthread_info , but the thread "ntetris" isn't created by
pthread_create(),but cyg_thread_create(). So it will return a involid
pthread_info which value is 0 .
when nanosleep() called "self->thread->delay( ticks )" in file time.cxx
line number 633 , it will read or write some member variable of cyg_thread
,it is
possible to cause a exception 4 .(invilid memory operation).
Do you think it is correct ?
Thinks!


  reply	other threads:[~2001-05-24  0:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-23 23:36 wangwei
2001-05-24  0:11 ` wangwei [this message]
2001-05-24  8:11   ` Jonathan Larmour
2001-05-24  8:13 ` Jonathan Larmour

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='007901c0e41f$ef9655e0$592da8c0@start.com.cn' \
    --to=wangw@start.com.cn \
    --cc=ecos-discuss@sources.redhat.com \
    /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).