[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Anders Gnistrup <agn@city.dk>] (fwd)
- To: rtl@rtlinux.org
- Subject: BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Anders Gnistrup <agn@city.dk>] (fwd)
- From: Der Herr Hofrat <der.herr@hofr.at>
- Date: Thu, 10 May 2001 06:48:18 +0200 (CEST)
>From owner-rtl Wed May 9 14:51:20 2001
Received: from emdrupborg.dk (emdrupborg.dk [130.226.204.250])
by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f49KpKJ25548
for <rtl@fsmlabs.com>; Wed, 9 May 2001 14:51:20 -0600
Received: from city.dk (unknown [10.0.0.24])
by emdrupborg.dk (Postfix) with ESMTP id 755538C003
for <rtl@fsmlabs.com>; Wed, 9 May 2001 22:47:12 +0200 (CEST)
Sender: agn@emdrupborg.dk
Message-ID: <3AF9C834.59AD9647@city.dk>
Date: Wed, 09 May 2001 21:44:04 -0100
From: Anders Gnistrup <agn@city.dk>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: rtl@fsmlabs.com
Subject: Re: [rtl] sigprocmask
References: <200105071528.f47FSYV30745@kanga.hofr.at> <3AF7AA53.8E8183C9@city.dk> <20010509063144.G10023@hq2>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I am using sigaction in a RT thread.
I have read the man pages for sigaction (and sigprocmask). It says that the funktins have not
been 100% completed yet, and that what i think is the problem. I have also read looked at the
"speaker example" and this gives some idea what to be done.
BTW.
I have send another mail about a "bug" in communikation between RT-linux and linux.
->Ignore it
I have read "A linux-based Real-Time Operating System" by Michael Barabanov, and this doc
gives the reason way this can not be done.
( maybe my code could be used as en example of what goes wrong)
Anders Gnistrup
Victor Yodaiken wrote:
> Are you using rtlinux_sigaction (in a Linux user task) or
> sigaction (within a RT thread )?
>
> On Tue, May 08, 2001 at 10:12:03AM +0200, root wrote:
> > naa... I do not think so
> >
> > This function is only available in Linux user processes. RTLinux threads can
> > not use this function.
> >
> > Taken from the
> > "http://www.rtlinux.org/documents/documentation/man_pages/html/rtlinux_sigaction.3.html"
> >
> > I am making a kernel module.
> >
> > BTW :
> > this is taken from the source of rtlinux_signal.c:
> > /* XXX: This function (and functions it depends upon) will allow you to
> > set
> > * non-existant signals as blocked or unblocked. Mainly, this is for
> > forward
> > * compatibility when we add more signals; please don't abuse it. -Nathan
> > */
> >
> >
> >
> > Der Herr Hofrat wrote:
> >
> > > > what is wrong with this?
> > > > I get a unresolved symbol sigprocmask. I have looked in the header file
> > > > posix/signal.h and the finktion is there.
> > > >
> > > > #include <rtl.h>
> > > > #include <rtl_time.h>
> > > > #include <rtl_sched.h>
> > > > #include <time.h>
> > > > #include <posix/signal.h>
> > >
> > > #include <rtlinux_signal.h>
> > >