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 - 2007 Christian Schoenebeck * |
* Copyright (C) 2005 - 2012 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 * |
117 |
*/ |
*/ |
118 |
bool GetUnsafe(); |
bool GetUnsafe(); |
119 |
|
|
120 |
|
#ifdef WIN32 |
121 |
|
/** |
122 |
|
* Resets the condition. This is only needed on Windows, after |
123 |
|
* a thread waiting for a condition has been stopped with |
124 |
|
* StopThread. |
125 |
|
*/ |
126 |
|
void Reset(); |
127 |
|
#endif |
128 |
|
|
129 |
protected: |
protected: |
130 |
#if defined(WIN32) |
#if defined(WIN32) |
131 |
friend class ConditionInternal; |
friend class ConditionInternal; |