~jamesh/mediascanner/disable-tmdb

« back to all changes in this revision

Viewing changes to src/mediascanner/filesystemwalker.cpp

  • Committer: Tarmac
  • Author(s): Jussi Pakkanen
  • Date: 2013-09-19 10:11:10 UTC
  • mfrom: (383.2.4 media-scanner)
  • Revision ID: tarmac-20130919101110-yry5zl93bmko0z5l
Fix usage of GCond. Fixes: https://bugs.launchpad.net/bugs/1227542.

Approved by Pawel Stolowski, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
532
532
    bool was_walking = false;
533
533
    g_mutex_lock(&mutex_);
534
534
 
535
 
    if (walking_) {
 
535
    while (walking_) {
536
536
        g_cond_wait(&cond_, &mutex_);
537
537
        was_walking = true;
538
538
    }