Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06 PM, Jan Kiszka wrote: On 2011-07-11 22:02, Gilles Chanteperdrix wrote: On 07/11/2011 09:59 PM, Jan Kiszka wrote: On 2011-07-11 21:51, Gilles Chanteperdrix wrote: On 07/11/2011 09:16

[Xenomai-core] ESA SOCIS initiative

2011-07-12 Thread julien . delange
Dear all, The European Space Agency started a program called SOCIS. It aims at supporting free-software projects by providing funds to students that are willing to contribute to free-software projects. It works like the summer of code : mentoring organization subscribe to the program and

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06 PM, Jan Kiszka wrote: On 2011-07-11 22:02, Gilles Chanteperdrix wrote: On 07/11/2011 09:59 PM, Jan Kiszka wrote: On 2011-07-11

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06 PM, Jan Kiszka wrote: On 2011-07-11 22:02, Gilles Chanteperdrix wrote: On 07/11/2011 09:59

Re: [Xenomai-core] ESA SOCIS initiative

2011-07-12 Thread Philippe Gerum
On Tue, 2011-07-12 at 09:20 +0200, julien.dela...@esa.int wrote: Dear all, The European Space Agency started a program called SOCIS. It aims at supporting free-software projects by providing funds to students that are willing to contribute to free-software projects. It works like the

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06 PM, Jan Kiszka wrote: On 2011-07-11 22:02, Gilles Chanteperdrix wrote: On 07/11/2011 09:59

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06 PM, Jan Kiszka wrote: On 2011-07-11

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11 22:09, Gilles Chanteperdrix wrote: On 07/11/2011 10:06

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 13:04, Gilles Chanteperdrix wrote: On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12 PM, Jan Kiszka wrote: On 2011-07-11

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 01:06 PM, Jan Kiszka wrote: On 2011-07-12 13:04, Gilles Chanteperdrix wrote: On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12 08:41, Gilles Chanteperdrix wrote: On 07/11/2011 10:12

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 13:08, Gilles Chanteperdrix wrote: On 07/12/2011 01:06 PM, Jan Kiszka wrote: On 2011-07-12 13:04, Gilles Chanteperdrix wrote: On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22 AM, Jan Kiszka wrote: On 2011-07-12

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 01:10 PM, Jan Kiszka wrote: On 2011-07-12 13:08, Gilles Chanteperdrix wrote: On 07/12/2011 01:06 PM, Jan Kiszka wrote: On 2011-07-12 13:04, Gilles Chanteperdrix wrote: On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12 12:59, Gilles Chanteperdrix wrote: On 07/12/2011 09:22

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 13:26, Gilles Chanteperdrix wrote: On 07/12/2011 01:10 PM, Jan Kiszka wrote: On 2011-07-12 13:08, Gilles Chanteperdrix wrote: On 07/12/2011 01:06 PM, Jan Kiszka wrote: On 2011-07-12 13:04, Gilles Chanteperdrix wrote: On 07/12/2011 01:00 PM, Jan Kiszka wrote: On 2011-07-12

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 13:56, Jan Kiszka wrote: However, this parallel unsynchronized execution of the gatekeeper and its target thread leaves an increasingly bad feeling on my side. Did we really catch all corner cases now? I wouldn't guarantee that yet. Specifically as I still have an obscure crash

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 01:58 PM, Jan Kiszka wrote: On 2011-07-12 13:56, Jan Kiszka wrote: However, this parallel unsynchronized execution of the gatekeeper and its target thread leaves an increasingly bad feeling on my side. Did we really catch all corner cases now? I wouldn't guarantee that yet.

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 14:06, Gilles Chanteperdrix wrote: On 07/12/2011 01:58 PM, Jan Kiszka wrote: On 2011-07-12 13:56, Jan Kiszka wrote: However, this parallel unsynchronized execution of the gatekeeper and its target thread leaves an increasingly bad feeling on my side. Did we really catch all

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Philippe Gerum
On Tue, 2011-07-12 at 14:57 +0200, Jan Kiszka wrote: On 2011-07-12 14:13, Jan Kiszka wrote: On 2011-07-12 14:06, Gilles Chanteperdrix wrote: On 07/12/2011 01:58 PM, Jan Kiszka wrote: On 2011-07-12 13:56, Jan Kiszka wrote: However, this parallel unsynchronized execution of the gatekeeper

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 17:48, Philippe Gerum wrote: On Tue, 2011-07-12 at 14:57 +0200, Jan Kiszka wrote: On 2011-07-12 14:13, Jan Kiszka wrote: On 2011-07-12 14:06, Gilles Chanteperdrix wrote: On 07/12/2011 01:58 PM, Jan Kiszka wrote: On 2011-07-12 13:56, Jan Kiszka wrote: However, this parallel

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 02:57 PM, Jan Kiszka wrote: xnlock_put_irqrestore(nklock, s); xnpod_schedule(); } @@ -1036,6 +1043,7 @@ redo: * to process this signal anyway. */ if (rthal_current_domain == rthal_root_domain) { +

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 19:31, Gilles Chanteperdrix wrote: On 07/12/2011 02:57 PM, Jan Kiszka wrote: xnlock_put_irqrestore(nklock, s); xnpod_schedule(); } @@ -1036,6 +1043,7 @@ redo: * to process this signal anyway. */ if

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Gilles Chanteperdrix
On 07/12/2011 07:34 PM, Jan Kiszka wrote: On 2011-07-12 19:31, Gilles Chanteperdrix wrote: On 07/12/2011 02:57 PM, Jan Kiszka wrote: xnlock_put_irqrestore(nklock, s); xnpod_schedule(); } @@ -1036,6 +1043,7 @@ redo: * to process this

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : nucleus: Fix race between gatekeeper and thread deletion

2011-07-12 Thread Jan Kiszka
On 2011-07-12 19:38, Gilles Chanteperdrix wrote: On 07/12/2011 07:34 PM, Jan Kiszka wrote: On 2011-07-12 19:31, Gilles Chanteperdrix wrote: On 07/12/2011 02:57 PM, Jan Kiszka wrote: xnlock_put_irqrestore(nklock, s); xnpod_schedule(); } @@