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 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
> Computer Engineering Department
> IUST
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel