Changeset 40399


Ignore:
Timestamp:
05/07/17 12:05:55 (5 years ago)
Author:
gost
Message:

[titan] new mutex for cec

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/global.h

    r40382 r40399  
    12061206                pthread_mutex_init(&status.waitrcmutex, NULL);
    12071207                pthread_mutex_init(&status.oledmutex, NULL);
     1208                pthread_mutex_init(&status.cecmutex, NULL);
    12081209        }
    12091210        else
     
    12351236                pthread_mutex_destroy(&status.waitrcmutex);
    12361237                pthread_mutex_destroy(&status.oledmutex);
     1238                pthread_mutex_destroy(&status.cecmutex);
    12371239        }
    12381240}
     
    15941596                case 24: debug(900, "waitrcmutex lock"); break;
    15951597                case 25: debug(900, "oledmutex lock"); break;
     1598                case 26: debug(900, "cecmutex lock"); break;
    15961599                default: debug(900, "unknown mutex lock"); break;
    15971600        }
     
    16291632                case 24: debug(900, "waitrcmutex unlock"); break;
    16301633                case 25: debug(900, "oledmutex unlock"); break;
     1634                case 26: debug(900, "cecmutex unlock"); break;
    16311635                default: debug(900, "unknown mutex unlock"); break;
    16321636        }
  • titan/titan/struct.h

    r40315 r40399  
    13751375        // mutex for OLED handling
    13761376        pthread_mutex_t oledmutex;
     1377                // mutex for cec handling
     1378        pthread_mutex_t cecmutex;
    13771379        off64_t recsplitsize;
    13781380        char* gateway;
Note: See TracChangeset for help on using the changeset viewer.