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 - 2008 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 * |
57 |
virtual int SignalStartThread(); |
virtual int SignalStartThread(); |
58 |
virtual int SignalStopThread(); |
virtual int SignalStopThread(); |
59 |
|
|
60 |
inline int TestCancel() { |
inline void TestCancel() { |
61 |
#if CONFIG_PTHREAD_TESTCANCEL |
#if CONFIG_PTHREAD_TESTCANCEL |
62 |
pthread_testcancel(); |
pthread_testcancel(); |
63 |
#endif |
#endif |
64 |
return 0; |
} |
|
} |
|
65 |
|
|
66 |
virtual bool IsRunning(); |
virtual bool IsRunning(); |
67 |
virtual int SetSchedulingPriority(); //FIXME: should be private |
virtual int SetSchedulingPriority(); //FIXME: should be private |
144 |
int PriorityMax; |
int PriorityMax; |
145 |
int PriorityDelta; |
int PriorityDelta; |
146 |
bool isRealTime; |
bool isRealTime; |
147 |
bool bLockedMemory; |
bool bLockedMemory; |
148 |
}; |
}; |
149 |
|
|
150 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |