Re: [Ryu-devel] calling a thread inside a function

2015-11-29 Thread Yusuke Iwase
Hi mehran, hub.spawn() is the wrapper for eventlet.spawn() and its usage is almost the same. http://eventlet.net/doc/basic_usage.html#eventlet.spawn e.g.) def func(a, b, c): ... hub.spawn(func, 1, b=2, c=3) Thanks, Iwase On 2015年11月29日 05:09, mehran shetabi wrote: > hi, > in my r

[Ryu-devel] calling a thread inside a function

2015-11-28 Thread mehran shetabi
hi, in my ryu application, i have a function that received many parameters. i want to call it as a thread in another function. how can i do this with the hub.spawn() ? can you give me a piece of code? thank you, ... mehran shetabi PhD student Com