Changeset 22985


Ignore:
Timestamp:
08/22/13 22:55:18 (11 years ago)
Author:
nit
Message:

[titan] fix rc standby

Location:
titan/titan
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/rc.h

    r21386 r22985  
    251251                        if(fromthread == 0) m_lock(&status.waitrcmutex, 24);
    252252
    253                         if(status.rcowner != NULL && status.rcowner != owner)
    254                         {
    255                                 usleep(100000);
    256                                 continue;
     253                        if((status.rcowner != NULL && status.rcowner != owner) || (status.rcstandby != NULL && status.rcstandby != owner))
     254                        {
     255                                if(status.rcstandby == NULL || status.rcstandby != owner)
     256                                {
     257                                        usleep(100000);
     258                                        continue;
     259                                }
    257260                        }
    258261                }
  • titan/titan/standby.h

    r22984 r22985  
    5858
    5959        status.protecttime = 0;
    60         status.rcowner = standbyscreen;
     60        status.rcstandby = standbyscreen;
    6161       
    6262        setcecstandby(1);
     
    113113        status.standby = 0;
    114114        status.startmode = 1;
    115         sleep(1);
    116         status.rcowner = NULL;
     115        status.rcstandby = NULL;
    117116
    118117        if(status.aktservice->channel != NULL)
  • titan/titan/struct.h

    r22885 r22985  
    13751375        // if set to a skin (screenpointer) only this screen has rc
    13761376        struct skin* rcowner;
     1377        struct skin* rcstandby;
    13771378        // timerstuktur fuer autores
    13781379        struct stimerthread* restimer;
Note: See TracChangeset for help on using the changeset viewer.