On Fri, 8 Nov 2013 12:58:15 +0900
Satoshi Kobayashi <[email protected]> wrote:

> 2013/11/8 FUJITA Tomonori <[email protected]>
> 
>> On Fri, 8 Nov 2013 11:06:13 +0900
>> Satoshi Kobayashi <[email protected]> wrote:
>>
>> >> -            LOG.info('loading app %s', app_cls_name)
>> >> +        while len(app_lists) > 0:
>> >> +            app_cls_name = app_lists.pop(0)
>> >>
>> >> -            # for now, only single instance of a given module
>> >> -            # Do we need to support multiple instances?
>> >> -            # Yes, maybe for slicing.
>> >>
>> >
>> > Do not this limitation exist any longer? If it is true, wonderful!
>>
>> Oops, unintentional removal. The limitaion still exists.
>>
>> Actually, I thought that nobody cares about the limitation. If you
>> have a use case for that, please share with us.
>>
> 
> I am not in trouble in a product code. But when writing PoC, I feel
> troublesomely only a little that a module must be separated. And I wondered
> that only one application was loaded when I was newbie of Ryu.

Seems that we are not on the same page. You can load multiple
applications. But only single instance of a given module can be
loaded. For example, you can't create two instances of SimpleSwitch
class in simple_switch.py.

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to