Re: [Xenomai-core] [PATCH] blackfin: build xenomai in FLAT format

2009-02-26 Thread Gilles Chanteperdrix
yi li wrote: On Wed, Feb 25, 2009 at 6:23 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: yi li wrote: On Wed, Feb 25, 2009 at 12:30 AM, Philippe Gerum r...@xenomai.org wrote: 2. libpthread_rt.la should not depend on lpthread. Nak. In flat mode, turning the link

Re: [Xenomai-core] [PATCH] blackfin: build xenomai in FLAT format

2009-02-26 Thread yi li
On Thu, Feb 26, 2009 at 6:20 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: -lpthread does need to be set in libpthread_rt_la_LDFLAGS, if you look at libpthread_rt code (which you apparently do not want to dot), you will see that it uses libpthread functions. Thanks for the

Re: [Xenomai-core] [PATCH] blackfin: build xenomai in FLAT format

2009-02-26 Thread Gilles Chanteperdrix
yi li wrote: On Thu, Feb 26, 2009 at 6:20 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: -lpthread does need to be set in libpthread_rt_la_LDFLAGS, if you look at libpthread_rt code (which you apparently do not want to dot), you will see that it uses libpthread functions.

[Xenomai-core] [PATCH v2 2/2] rtdk: Add assert_context helpers

2009-02-26 Thread Jan Kiszka
[ fixed typos, separated __real functions, exported assert_nrt ] Provide assert_nrt helper that checks if the caller is either not a shadow thread or is currently running in relaxed mode. If not, SIG_XCPU is raised. This service is then used to provide wrappers for glibc functions that are not

[Xenomai-core] [PATCH] rtdk: Suspend/resume printer thread

2009-02-26 Thread Jan Kiszka
If someone is linking against rtdk for other reasons than using rt_print, we should not let the printer thread poll the buffers needlessly. So suspend it in case no buffer exists and resume once some thread starts to use RT printing services. Signed-off-by: Jan Kiszka jan.kis...@siemens.com ---

[Xenomai-core] [PATCH 1/3] native: Support T_WARNSW on task creation

2009-02-26 Thread Jan Kiszka
Extend __rt_task_create to apply the T_WARNSW thread mode after creation and adopt the user space parts so that the no-mlock check is disabled as well. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- ksrc/skins/native/syscall.c | 44 ---

[Xenomai-core] [PATCH 3/3] native: Silent migration before self-deletion

2009-02-26 Thread Jan Kiszka
Silently migrate to Linux domain before starting a task self-deletion so that we don't raise SIGXCPU during tear-down if T_WARNSW is set. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- src/skins/native/task.c | 15 --- 1 files changed, 12 insertions(+), 3 deletions(-) diff

[Xenomai-core] [PATCH 2/3] native: Avoid lazy non-TLS rt_task_self

2009-02-26 Thread Jan Kiszka
Unconditionally allocate a self task key in the non-TLS case so that we do not trigger migration via malloc on first access. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- src/skins/native/task.c | 50 +-- 1 files changed, 27 insertions(+), 23

[Xenomai-core] Xenomai v2.4.7

2009-02-26 Thread Philippe Gerum
Here is the seventh maintenance release for the v2.4.x branch. Short log follows: [nucleus] * Fix multiple issues in the message pipe support (memory leak, latency peak, oops on disconnect). * Fix GDB support issue with shadow threads in ready state. *