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: >>> 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 +++ b/ksrc/skins/posix/mq.c @@ -1283,6 +1283,7 @@ int pse

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

2010-03-01 Thread Gilles Chanteperdrix
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 > +++ b/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: >> 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 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 >>> ---

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 inde

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

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 t

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: > Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Gilles Chanteperdrix wrote: GIT version control wrote: > diff --git a/ksrc/skins/posix/mq.c b/ksrc/sk

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: > Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Gilles Chanteperdrix wrote: GIT version control wrote: > diff --git a/ksrc/skins/posix/mq.c b/ksrc/sk

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: >> Jan Kiszka wrote: >>> Jan Kiszka wrote: Gilles Chanteperdrix wrote: > GIT version control wrote: >> diff

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

2010-03-01 Thread Jan Kiszka
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 few days. >>>

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: 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 t

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

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 co

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 Chantep

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: > Jan Kiszka wrote: >> Jan Kiszka wro

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: > Jan Kiszka wrote: >> Jan Kiszka wro

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

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

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

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 stateles

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),

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 t

[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): RTDM+POSIX

Re: [Xenomai-core] Xenomai in Debian

2010-03-01 Thread Roland Stigge
Hi Gilles, thanks for your mail! And don't worry - there's an updated Xenomai version in Debian sid now thanks to everyone from the Xenomai dev list. Sven put quite some effort into syncing the two projects. If there are any problems, feel free to "bug" me. ;-) Regarding the xenomai-announce lis

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 >>>