All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: d p <dogpointer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] root_thread_exit in pSOS skin
Date: Wed, 04 Oct 2006 17:03:30 +0200	[thread overview]
Message-ID: <4523CD42.7040702@domain.hid> (raw)
In-Reply-To: <e3291e320610040739y2ae413abkd4c037378f75b74f@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 699 bytes --]

d p wrote:
> On 04/10/06, Jan Kiszka <jan.kiszka@domain.hid> wrote:
>>
>> root_thread_exit maps to __xeno_user_exit [1], and that should get
>> called by the UVM main function [2].
> 
> 
> OK, but I  put a  xnprintf in root_thread_exit and I never saw this
> print. I
> stop the emulation with CTRL+C.

Yeah, that correlates very well with the endless loop a few line above
in [2]...

In fact, I don't see how you should be able to install cleanup code this
way under the UVM. Maybe replacing the for loop with something like this
helps

while (uvm_thread_idle(&uvm_irqlock) >= 0)
	/* empty loop */;

but I'm leaving terra firma right now (never worked with the UVM).

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2006-10-04 15:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 14:16 [Xenomai-help] root_thread_exit in pSOS skin d p
2006-10-04 13:55 ` Jan Kiszka
2006-10-04 14:39   ` d p
2006-10-04 15:03     ` Jan Kiszka [this message]

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=4523CD42.7040702@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=dogpointer@domain.hid \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.