[Ns-bugs] [Bug 631] RealtimeSimulatorImpl not compatible with python bindings
code@nsnam.ece.gatech.edu
code at nsnam.ece.gatech.edu
Mon Jul 13 03:56:12 PDT 2009
http://www.nsnam.org/bugzilla/show_bug.cgi?id=631
--- Comment #5 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com> 2009-07-13 06:56:11 EDT ---
IMHO we should avoid threads in non-realtime simulator due to performance
issues and portability issues. I think the RunOne solution is so simple, why
don't you like it? It is surely a lot simpler than any threaded solution you
may want to throw at it.
The realtime scheduler problem is a different one. But a solution to it is not
trivial. I think we should just add some way to find out whether the
implementation supports RunOne and avoid calling it if not. Naturally if we do
not call RunOne then we'll not catch Ctrl-C, but at least the simulator will
work from python automagically.
After that we can try to get Ctrl-C to work again, maybe using threads as you
suggest, but to be honest I think it is more work than the feature is worth...
--
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Ns-bugs
mailing list