--- a/src/simulator/event-impl.cc Tue Aug 26 08:42:28 2008 -0700
+++ b/src/simulator/event-impl.cc Tue Aug 26 15:34:57 2008 -0700
@@ -23,6 +23,7 @@
namespace ns3 {
+EventLock *EventImpl::m_eventLock = 0;
EventImpl::~EventImpl ()
{}
@@ -31,6 +32,19 @@
: m_cancel (false),
m_count (1)
{}
+
+void
+EventImpl::SetEventLock (EventLock *eventLock)
+{
+ m_eventLock = eventLock;
+}
+
+void
+EventImpl::SetNoEventLock (void)
+{
+ m_eventLock = 0;
+}
+
void
EventImpl::Invoke (void)
{
@@ -39,6 +53,7 @@
Notify ();
}
}
+
void
EventImpl::Cancel (void)
{