~crimsun/pulseaudio/trunk

« back to all changes in this revision

Viewing changes to src/tests/thread-test.c

  • Committer: Colin Guthrie
  • Author(s): Maarten Bosmans
  • Date: 2011-06-23 23:32:22 UTC
  • Revision ID: git-v1:3adc43b8fe507e3140f7d6f9bab32584b9eadfa4
win32: Make once-test work

The barrier is not used when pthread is not available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
    int i, k;
95
95
    pa_thread* t[THREADS_MAX];
96
96
 
97
 
    assert(pa_thread_is_running(pa_thread_self()));
98
 
 
99
97
    mutex = pa_mutex_new(FALSE, FALSE);
100
98
    cond1 = pa_cond_new();
101
99
    cond2 = pa_cond_new();