--- a/bindings/python/ns3modulescan.py Mon Aug 04 17:44:53 2008 -0700
+++ b/bindings/python/ns3modulescan.py Tue Aug 05 19:42:53 2008 +0100
@@ -148,6 +148,13 @@
and pygccxml_definition.name.startswith('Schedule'):
global_annotations['ignore'] = None
+ # unblock python threads for Simulator::Run
+ if isinstance(pygccxml_definition, member_function_t) \
+ and pygccxml_definition.parent.name == 'Simulator' \
+ and pygccxml_definition.name == 'Run':
+ global_annotations['unblock_threads'] = True
+
+
## classes
if isinstance(pygccxml_definition, class_t):
# no need for helper classes to allow subclassing in Python, I think...