3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
|
* Copyright (C) 2005, 2006 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
27 |
|
|
28 |
#include "global.h" |
#include "global.h" |
29 |
|
|
30 |
|
namespace LinuxSampler { |
31 |
|
|
32 |
Condition::Condition(bool bInitialCondition) { |
Condition::Condition(bool bInitialCondition) { |
33 |
pthread_cond_init(&__posix_true_condition, NULL); |
pthread_cond_init(&__posix_true_condition, NULL); |
34 |
pthread_cond_init(&__posix_false_condition, NULL); |
pthread_cond_init(&__posix_false_condition, NULL); |
109 |
} |
} |
110 |
Unlock(); |
Unlock(); |
111 |
} |
} |
112 |
|
|
113 |
|
} // namespace LinuxSampler |