[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] strange behavior for hobbit 4.2 with allinone patch
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] strange behavior for hobbit 4.2 with allinone patch
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Thu, 28 Feb 2008 18:07:43 +0100
- References: <68e737a10802280722q1db27981x981dd800a498a0b (at) mail.gmail.com>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Thu, Feb 28, 2008 at 04:22:34PM +0100, Etienne Grignon wrote:
> Hello Henrik,
>
> I write you because I discovered a strange behavior on hobbit 4.2 with the
> all in one patch.
>
> Before the all in one patch, when I had to stop hobbit, all semaphores and
> shared segments were liberated. But, after we applied the allinone patch, we
> always have one shared segment and one semaphore used by hobbit even if no
> more hobbit process are running.
Argh ... this is silly. It's missing a shutdown of the user-channel
introduced with the patch. Adding a line like
close_channel(userchn, CHAN_MASTER);
near the end of hobbitd/hobbitd.c will fix it.
Henrik