1 // author : Boris Kolpackov <boris@kolpackov.net>
2 #include "ace/OS_NS_time.h"
7 Simulator::Simulator ()
9 ACE_OS::srand ((unsigned int)ACE_OS::time (0));
12 void Simulator::send (Message_ptr m
)
14 // Note: Simulator may work in unpredictable ways mainly due
15 // to the "reliable loopback" mechanism.
22 if ((r % 3) == 0) return;