OK, thank you.
I wrote a new program in which there is no call to my function Console.
There is just calls to printf at the end of the program. Thus, we can be
sure that the problem comes from the pthread_create call.
New program :
#include
#include
#include
#include
#include
#include
#de
On Fri, Feb 15, 2008 at 9:10 AM, Fabien MAHOT > OK, we can see that
there is the same problem. T1 thread prempts Main
> Thread during the pthread_create of T2 with Xenomai and not with Linux
> standard. I would like to know why.
>
> I don't that there is a difference beetween the posix Linux pt
On Fri, Feb 15, 2008 at 9:10 AM, Fabien MAHOT
<[EMAIL PROTECTED]> wrote:
> OK, we can see that there is the same problem. T1 thread prempts Main
> Thread during the pthread_create of T2 with Xenomai and not with Linux
> standard. I would like to know why.
>
> I don't that there is a difference
Hi at all,
I'am sure that the same code run fine with Xenomai-2.1.1, kernel
linux-2.6.15-ipipe-1.2-15.
Why there are problems now?
I want underline my purpose: my tasks should be exit in asyncronous way
executing costom exit routine.
How can I do this in Xenomai?
I've considered the use of rt_add_h
On Fri, Feb 15, 2008 at 10:45 AM, Salvatore De Astis
<[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi at all,
> I'am sure that the same code run fine with Xenomai-2.1.1, kernel
> linux-2.6.15-ipipe-1.2-15.
> Why there are problems now?
Because now, xnpod_delete_thread sends a SIGKILL to the whole process
2008/2/15, Gilles Chanteperdrix <[EMAIL PROTECTED]>:
>
> On Fri, Feb 15, 2008 at 10:45 AM, Salvatore De Astis
>
> <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
>
> > Hi at all,
> > I'am sure that the same code run fine with Xenomai-2.1.1, kernel
> > linux-2.6.15-ipipe-1.2-15.
> > Why there are proble
On Fri, Feb 15, 2008 at 11:15 AM, Salvatore De Astis
<[EMAIL PROTECTED]> wrote:
>
>
> 2008/2/15, Gilles Chanteperdrix <[EMAIL PROTECTED]>:
> > On Fri, Feb 15, 2008 at 10:45 AM, Salvatore De Astis
> >
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > >
> > >
> >
> > > Hi at all,
> > > I'am sure that t
On Fri, Feb 15, 2008 at 11:52 AM, Salvatore De Astis
<[EMAIL PROTECTED]> wrote:
> The loop which waits for a flag has a collateral effect: if my thread block
> itself in its main routine how can I kill it in asyncronous mode?
Use rt_task_unblock/rt_task_resume to unblock it, and check either
-EINT
The loop which waits for a flag has a collateral effect: if my thread block
itself in its main routine how can I kill it in asyncronous mode?
2008/2/15, Gilles Chanteperdrix <[EMAIL PROTECTED]>:
>
> On Fri, Feb 15, 2008 at 11:15 AM, Salvatore De Astis
>
> <[EMAIL PROTECTED]> wrote:
> >
> >
> > 200
Hello Everyone
I am new to Xenomai , I have ported linux-2.6.14 to our custom board based
on IBM750Cxe Iam unable to boot my kernel cross compiled with eldk-3.0with
enabled xenomai support.If i remove xenomai and ipipe support the
kernel
boots correctly , but if i enable i get the fol
On Fri, Feb 15, 2008 at 11:52 AM, Salvatore De Astis
<[EMAIL PROTECTED]> wrote:
> The loop which waits for a flag has a collateral effect: if my thread block
> itself in its main routine how can I kill it in asyncronous mode?
Another solution would be to use pthread_cancel().
--
Gilles Chantepe
On Fri, Feb 15, 2008 at 1:55 PM, rakesh bk <[EMAIL PROTECTED]> wrote:
> Disable CONFIG_ALTIVEC in the kernel configuration.
Do this.
--
Gilles Chanteperdrix
___
Xenomai-help mailing list
Xenomai-help@gna.org
https://mail.gna.org/listinfo/xen
Hello,
rakesh bk wrote:
> Hello Everyone
>
> I am new to Xenomai , I have ported linux-2.6.14 to our custom board based
>on IBM750Cxe Iam unable to boot my kernel cross compiled with
> eldk-3.0 with
>enabled xenomai support.If i remove xenomai and ipipe support the
> kernel
>boots
Thanks Gilles,
but I am new to Xenomai so can you give me more details?
2008/2/15, Gilles Chanteperdrix <[EMAIL PROTECTED]>:
>
> On Fri, Feb 15, 2008 at 11:52 AM, Salvatore De Astis
>
> <[EMAIL PROTECTED]> wrote:
>
> > The loop which waits for a flag has a collateral effect: if my thread
> block
>
On Fri, Feb 15, 2008 at 2:33 PM, Salvatore De Astis <[EMAIL PROTECTED]> wrote:
> Thanks Gilles,
> but I am new to Xenomai so can you give me more details?
pthread_cancel is not related to Xenomai, it is the posix way of
killing threads while having them execute a custom cleanup routine.
When pthr
15 matches
Mail list logo