Subversion Repositories tpanel

Rev

Rev 15 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 15 Rev 21
Line 92... Line 92...
92
 
92
 
93
void TTimer::_run()
93
void TTimer::_run()
94
{
94
{
95
    mRunning = true;
95
    mRunning = true;
96
 
96
 
97
    while (!mStopped)
97
    while (!mStopped && !prg_stopped)
98
    {
98
    {
99
        std::this_thread::sleep_for(mMsec);
99
        std::this_thread::sleep_for(mMsec);
100
 
100
 
101
        if (mStopped)
101
        if (mStopped)
102
            break;
102
            break;