Glen Gibb <[EMAIL PROTECTED]> writes: > Ben Pfaff wrote: >> Glen Gibb <[EMAIL PROTECTED]> writes: >> >> >>> I need to periodically perform an action that is likely to take >>> some time. I'm concerned about the performance impact on NOX if my >>> application is off doing something for a while -- is it likely to >>> block all packet processing? >>> >> >> If you write your application in C++, then blocking using the NOX >> cooperative threading API will not block packet processing. >> Instead, the scheduler will switch to another cooperative thread. >> >> If you're doing CPU-intensive work, though, that won't trigger >> rescheduling. >> > What would happen if we spawn a Python thread from an app?
NOX doesn't currently initialize or handle Python threading, so my guess is that sooner or later all hell would break loose. -- Ben Pfaff Nicira Networks, Inc. _______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
