All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Rodrigo Rosenfeld Rosas <lbocseg@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] RTDM and possible bug
Date: Wed, 25 Jan 2006 02:41:25 +0100	[thread overview]
Message-ID: <43D6D745.3070701@domain.hid> (raw)
In-Reply-To: <200601242019.05696.lbocseg@domain.hid>

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

Rodrigo Rosenfeld Rosas wrote:
> Hi Jan,
> 
> I'm getting the following message from kernel:
> Xenomai: RTDM: no non-RT close handler
> Error registering RTDM device
> 
> But I am using only a RT open handler and a RT close handler. The 
> documentation states:
> "rtdm_close_handler_t 	close_nrt	
>  	Close handler for non-real-time contexts, optional if close_rt is non-NULL."
> which is my case.
> 
> Am I missing something?

Nope, it's bug in the documentation. Do you actually depend on RT
context for cleanup?

I recently decided to enforce a non-RT closure handler on registration.
This is required to be able to do the

    echo file_descriptor > /proc/xenomai/rtdm/open_fildes

dance on forgotten file descriptors and to implement on day an automatic
closure on process termination.

The doc is now fixed, thanks for reporting.

> 
> I'll take a closer look at RTDM source-code, but maybe you can enlight me 
> until there.
> 
> Thanks,
> 
> Rodrigo.
> 
> 

Jan


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

  reply	other threads:[~2006-01-25  1:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-24 22:19 [Xenomai-help] RTDM and possible bug Rodrigo Rosenfeld Rosas
2006-01-25  1:41 ` Jan Kiszka [this message]
2006-01-25 12:08   ` Rodrigo Rosenfeld Rosas

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=43D6D745.3070701@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=lbocseg@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.