Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-07-01 Thread FUJITA Tomonori
On Fri, 1 Jul 2016 12:55:33 +0900 Takashi YAMAMOTO wrote: > On Tue, Jun 28, 2016 at 5:03 PM, IWAMOTO Toshihiro > wrote: > >> At Tue, 28 Jun 2016 16:19:52 +0900, >> Takashi YAMAMOTO wrote: >> > >> > [1 ] >> > On Tue, Jun 28, 2016 at 3:16 PM, IWAMOTO Toshihiro < >> iwam...@valinux.co.jp> >> > wr

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-30 Thread Takashi YAMAMOTO
On Tue, Jun 28, 2016 at 5:03 PM, IWAMOTO Toshihiro wrote: > At Tue, 28 Jun 2016 16:19:52 +0900, > Takashi YAMAMOTO wrote: > > > > [1 ] > > On Tue, Jun 28, 2016 at 3:16 PM, IWAMOTO Toshihiro < > iwam...@valinux.co.jp> > > wrote: > > > > > At Tue, 28 Jun 2016 15:02:52 +0900, > > > Takashi YAMAMOTO

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-28 Thread IWAMOTO Toshihiro
At Tue, 28 Jun 2016 16:19:52 +0900, Takashi YAMAMOTO wrote: > > [1 ] > On Tue, Jun 28, 2016 at 3:16 PM, IWAMOTO Toshihiro > wrote: > > > At Tue, 28 Jun 2016 15:02:52 +0900, > > Takashi YAMAMOTO wrote: > > > > > > On Tue, Jun 28, 2016 at 2:25 PM, IWAMOTO Toshihiro < > > iwam...@valinux.co.jp> >

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-28 Thread Takashi YAMAMOTO
On Tue, Jun 28, 2016 at 3:16 PM, IWAMOTO Toshihiro wrote: > At Tue, 28 Jun 2016 15:02:52 +0900, > Takashi YAMAMOTO wrote: > > > > On Tue, Jun 28, 2016 at 2:25 PM, IWAMOTO Toshihiro < > iwam...@valinux.co.jp> > > wrote: > > > > > If an AppManager.close call is started and all AppManager.services >

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-27 Thread IWAMOTO Toshihiro
At Tue, 28 Jun 2016 15:02:52 +0900, Takashi YAMAMOTO wrote: > > On Tue, Jun 28, 2016 at 2:25 PM, IWAMOTO Toshihiro > wrote: > > > If an AppManager.close call is started and all AppManager.services > > are stop, AppManager.run_apps starts another close() call, > > > > why joinall in run_apps ret

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-27 Thread Takashi YAMAMOTO
On Tue, Jun 28, 2016 at 2:25 PM, IWAMOTO Toshihiro wrote: > If an AppManager.close call is started and all AppManager.services > are stop, AppManager.run_apps starts another close() call, > why joinall in run_apps returns before AppManager.close finish clearing self.applications? > resulting i

Re: [Ryu-devel] [PATCH] Avoid parallel executions of AppManager.close()

2016-06-27 Thread IWAMOTO Toshihiro
At Tue, 28 Jun 2016 14:25:00 +0900, IWAMOTO Toshihiro wrote: > > If an AppManager.close call is started and all AppManager.services > are stop, AppManager.run_apps starts another close() call, > resulting in a strange error in close(). Prevent that using > a semaphore. > > Signed-off-by: IWAMOTO