A Discrete-Event Network Simulator
API
main-test-sync.cc File Reference

An example of scheduling events in a background thread. More...

#include "ns3/command-line.h"
#include "ns3/simulator.h"
#include "ns3/realtime-simulator-impl.h"
#include "ns3/nstime.h"
#include "ns3/log.h"
#include "ns3/string.h"
#include "ns3/config.h"
#include "ns3/global-value.h"
#include "ns3/ptr.h"
#include <chrono>
#include <thread>
+ Include dependency graph for main-test-sync.cc:

Go to the source code of this file.

Detailed Description

An example of scheduling events in a background thread.

See ns3::SimulatorImpl::ScheduleWithContext

Definition in file main-test-sync.cc.