Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: GIT version control wrote: diff --git a/ksrc/skins/posix/mq.c b/ksrc/skins/posix/mq.c index 11f47c0..a896031 100644 --- a/ksrc/skins/posix/mq.c +++

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: GIT version control wrote: diff --git a/ksrc/skins/posix/mq.c b/ksrc/skins/posix/mq.c index 11f47c0..a896031 100644 ---

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Wait! When the sync object behind some file descriptor is deleted but the descriptor itself is still existing, we rather have to return that fd signaled from select() instead of

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Wait! When the sync object behind some file descriptor is deleted but the descriptor itself is still existing, we rather have to return that fd signaled from

Re: [Xenomai-core] Yet another ((weak)) bug

2010-03-01 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Stefan Kisdaroczi wrote: Am 12.02.2010 17:22, schrieb Jan Kiszka: libxnskin or so? Jan libxenomai ? Ok. Let's go for libxenomai. I will try and do that in the next

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: GIT version control wrote: diff --git a/ksrc/skins/posix/mq.c

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: GIT version control wrote: diff --git

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote: Gilles Chanteperdrix

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote:

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Jan Kiszka wrote: Jan Kiszka wrote:

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Right, the trick is likely to properly maintain the output fds of bind_all in that not only pending fds are set, but others are cleared - avoids the third bitmap. Still playing with such an approach. What we are trying to do, in a nutshell, is to create a notion of stateless

Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : RTDM+POSIX: Avoid leaking binding objects on errors

2010-03-01 Thread Jan Kiszka
Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: To be more precise, it looks to me like each call to bind_one is supposed to set the bit of the corresponding fd, so, if bind_one fails because the fd is in the transitory state (the one which I do not like), bind_all

Re: [Xenomai-core] Xenomai in Debian

2010-03-01 Thread Gilles Chanteperdrix
Roland Stigge wrote: Hi Gilles, first - I'm sorry if you sometimes feel offended by my work on Xenomai in Debian. I understand that you are very much connected to your project and want to have it working perfectly everywhere. Unfortunately, my time to work on this is limited and the

[Xenomai-core] [pull request] RTDM fixes and cleanups

2010-03-01 Thread Jan Kiszka
The following changes since commit 95412b8c10ba7ba199089a3cbb60c67c8d718186: Gilles Chanteperdrix (1): timeconv: revert 97b78d45bf4c5571fccd9675fae8bb008a341769 are available in the git repository at: git://git.xenomai.org/xenomai-jki.git for-upstream Jan Kiszka (5):

Re: [Xenomai-core] Yet another ((weak)) bug

2010-03-01 Thread Gilles Chanteperdrix
Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Jan Kiszka wrote: Gilles Chanteperdrix wrote: Stefan Kisdaroczi wrote: Am 12.02.2010 17:22, schrieb Jan Kiszka: libxnskin or so? Jan libxenomai ? Ok. Let's go for libxenomai. I will try and do