boost deadline_timer issue
===

Here follows the implementation of a test class wrapping a thread with a timer.
The strange thing is that if the deadline is set to 500 milliseconds it works but if I set it to 1000 milliseconds it does not. What am I doing wrong?


    #include "TestTimer.hpp"
    #include "../SysMLmodel/Package1/Package1.hpp"

    TestTimer::TestTimer(){
        thread = boost::thread(boost::bind(&TestTimer::classifierBehavior,this));
	    timer = new      boost::asio::deadline_timer(service,boost::posix_time::milliseconds(1000));
       	timer->async_wait(boost::bind(&TestTimer::timerBehavior, this));
 

    };

    TestTimer::~TestTimer(){
    }

    void TestTimer::classifierBehavior(){
     service.run();
    };


    void TestTimer::timerBehavior(){
  	std::cout<<"AcceptEventAction1\r";
	timer->expires_at(timer->expires_at() + boost::posix_time::milliseconds(1000));
	timer->async_wait(boost::bind(&TestTimer::timerBehavior,this));
    }
