All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Alessandro Pittaluga <xpit@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_task_catch and rt_hook in user space?
Date: Fri, 17 Mar 2006 08:59:58 +0100	[thread overview]
Message-ID: <441A6C7E.5000603@domain.hid> (raw)
In-Reply-To: <200603162115.20077.xpit@domain.hid>

Alessandro Pittaluga wrote:
> Hi to everybody,
> 
> Anyone knows why the rt_task_catch and rt_hook is not available in the native
> library?

These routines are registering user callouts the nucleus invokes from kernel 
space, so we cannot make them available from user-space at the moment. Maybe this 
situation will improve when asynchronous calls of user-space routines are made 
available in the future, e.g. for dealing with real-time signals without resorting 
to switching to Linux first.

> 
> rt_task_catch seems to me the only clean way to define signal handlers on 
> per-thread basis, but it is not included in the user space lib, although the 
> doc states that the service should be available to user space tasks.
> 

The doc is wrong regarding rt_task_catch(). Only rt_task_notify() is accessible 
from user-space.

> The hooks (registered on context switch) are very useful to calculate number 
> of switches, consumed cpu time and so on..
> 
> Is there any plan to implement them in user space?
>

Yes; no ETA though.

>  
> Many Thanks
> 
> Alessandro
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
> 


-- 

Philippe.


      reply	other threads:[~2006-03-17  7:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 20:15 [Xenomai-help] rt_task_catch and rt_hook in user space? Alessandro Pittaluga
2006-03-17  7:59 ` Philippe Gerum [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=441A6C7E.5000603@domain.hid \
    --to=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    --cc=xpit@domain.hid \
    /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.