|
Bugzilla – Full Text Bug Listing |
| Summary: | Simulator::RunOneEvent | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Component: | core | Assignee: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
patch
new patch |
||
|
Description
Gustavo J. A. M. Carneiro
2008-08-05 10:50:24 UTC
Created attachment 219 [details]
patch
Please, rename the public API to RunOne to outline the relationship with Simulator::Run better. (In reply to comment #2) > Please, rename the public API to RunOne to outline the relationship with > Simulator::Run better. > OK. After filing this bug I discovered a potential solution that may allow me to do my viz thing without this API, so I put this on hold until it is sorted out. (In reply to comment #2) > Please, rename the public API to RunOne to outline the relationship with > Simulator::Run better. I still think RunOne is a poor name. RunOne? RunOne what? ProcessOneEvent was fine. How about RunOneEvent or RunFirstEvent? Please don't take the private member method ProcessOneEvent and just make it public and callable by anyone. The multithreaded and real time schedulers re-implement ProcessOneEvent treating it as a private method. This is not going to work. If you are going to add a new bit of public API, please do that and define a new method. (In reply to comment #4) > I still think RunOne is a poor name. RunOne? RunOne what? ProcessOneEvent > was fine. How about RunOneEvent or RunFirstEvent? RunOneEvent would be fine with me. > > Please don't take the private member method ProcessOneEvent and just make it > public and callable by anyone. The multithreaded and real time schedulers > re-implement ProcessOneEvent treating it as a private method. This is not > going to work. If you are going to add a new bit of public API, please do that > and define a new method. agreed. I think I am going to need this after all. Created attachment 220 [details]
new patch
I think this is what is wanted. OK to commit?
ok for me. changeset: 3515:88e9cee20461 |