Re: [Xenomai-core] [5/9] Define new syscalls for the posix skin

2008-04-25 Thread Philippe Gerum
Gilles Chanteperdrix wrote: This patch defines the new syscalls get_heap_addr (more on this syscall later), and get_thread_cb. The get_thread_cb syscall is used in user-space to associate the thread xnthread_t pointer with each user-space xenomai thread, using POSIX TSD. This is needed

[Xenomai-core] [2.4.x PATCH] POSIX: Remove mutex/cond_init locking, fix NULL attribute

2008-04-25 Thread Jan Kiszka
Hi, trunk check-in #3369 did not just remove some questionable critical sections, it also happen to fix two ugly bugs in the POSIX skin: The user was not able to pass NULL attributes down to mutex_init and cond_init. Find a backport of that patch for 2.4.x attached. Jan -- Siemens AG,

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Gilles Chanteperdrix
On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: This patch implements the _read, _set, and _cmpxchg operations on atomic_long_t and atomic_ptr_t in user-space in include/asm-generic/atomic.h which should be included at the end of

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Philippe Gerum
Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: This patch implements the _read, _set, and _cmpxchg operations on atomic_long_t and atomic_ptr_t in user-space in include/asm-generic/atomic.h which should

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Gilles Chanteperdrix
On Fri, Apr 25, 2008 at 3:42 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: This patch implements the _read, _set, and _cmpxchg operations on atomic_long_t

Re: [Xenomai-core] [2.4.x PATCH] POSIX: Remove mutex/cond_init locking, fix NULL attribute

2008-04-25 Thread Gilles Chanteperdrix
On Fri, Apr 25, 2008 at 3:44 PM, Jan Kiszka [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 2:59 PM, Jan Kiszka [EMAIL PROTECTED] wrote: Hi, trunk check-in #3369 did not just remove some questionable critical sections, it also happen to fix two ugly

Re: [Xenomai-core] [2.4.x PATCH] POSIX: Remove mutex/cond_init locking, fix NULL attribute

2008-04-25 Thread Philippe Gerum
Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 3:44 PM, Jan Kiszka [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 2:59 PM, Jan Kiszka [EMAIL PROTECTED] wrote: Hi, trunk check-in #3369 did not just remove some questionable critical sections, it

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Philippe Gerum
Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 3:42 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: This patch implements the _read, _set, and _cmpxchg

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Gilles Chanteperdrix
On Fri, Apr 25, 2008 at 4:01 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 3:42 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL PROTECTED] wrote:

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Philippe Gerum
Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 4:01 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 3:42 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 9:48 AM, Philippe Gerum [EMAIL

Re: [Xenomai-core] [2.4.x PATCH] POSIX: Remove mutex/cond_init locking, fix NULL attribute

2008-04-25 Thread Jan Kiszka
Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 2:59 PM, Jan Kiszka [EMAIL PROTECTED] wrote: Hi, trunk check-in #3369 did not just remove some questionable critical sections, it also happen to fix two ugly bugs in the POSIX skin: The user was not able to pass NULL attributes down to

Re: [Xenomai-core] [3/9] Define more atomic operations in user-space

2008-04-25 Thread Gilles Chanteperdrix
Philippe Gerum wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 4:01 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25, 2008 at 3:42 PM, Philippe Gerum [EMAIL PROTECTED] wrote: Gilles Chanteperdrix wrote: On Fri, Apr 25,