Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2069)

Unified Diff: bindings/python/ns3modulegen_core_customizations.py

Issue 2334041: thread-safe implementation of ScheduleWithContext
Patch Set: Created 13 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bindings/python/ns3module_helpers.cc ('k') | src/simulator/default-simulator-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bindings/python/ns3modulegen_core_customizations.py
===================================================================
--- a/bindings/python/ns3modulegen_core_customizations.py
+++ b/bindings/python/ns3modulegen_core_customizations.py
@@ -302,6 +302,9 @@
Simulator.add_custom_method_wrapper("Schedule", "_wrap_Simulator_Schedule",
flags=["METH_VARARGS", "METH_KEYWORDS", "METH_STATIC"])
+ ## Simulator::ScheduleWithContext(delay, callback, ...user..args...)
+ Simulator.add_custom_method_wrapper("ScheduleWithContext", "_wrap_Simulator_ScheduleWithContext",
+ flags=["METH_VARARGS", "METH_KEYWORDS", "METH_STATIC"])
## Simulator::ScheduleNow(callback, ...user..args...)
Simulator.add_custom_method_wrapper("ScheduleNow", "_wrap_Simulator_ScheduleNow",
« no previous file with comments | « bindings/python/ns3module_helpers.cc ('k') | src/simulator/default-simulator-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b