public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Sergei Organov <osv@javad.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Thread suspend when scheduler is locked.
Date: Wed, 20 Jun 2012 18:23:00 -0000	[thread overview]
Message-ID: <jrt4dg$ee8$1@dough.gmane.org> (raw)

Hello,

In the following sequence:

  cyg_scheduler_lock();
  cyg_thread_suspend(thread);

the second call returns immediately that is very surprising. Is it a bug
or fature?

-- Sergei.



-- 
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:[~2012-06-20 18:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 18:23 Sergei Organov [this message]
2012-06-21  9:00 ` [ECOS] " Sergei Organov
2012-06-21 10:33   ` Nick Garnett
2012-06-21 11:51     ` Sergei Organov
2012-06-21 12:48       ` Nick Garnett
2012-06-21 14:57         ` Sergei Organov
2012-07-01  2:45           ` Jonathan Larmour
2012-07-02 10:13             ` Sergei Organov

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='jrt4dg$ee8$1@dough.gmane.org' \
    --to=osv@javad.com \
    --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).