2 |
* * |
* * |
3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* * |
* * |
7 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
8 |
* 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 * |
30 |
Mutex(); |
Mutex(); |
31 |
~Mutex(); |
~Mutex(); |
32 |
void Lock(); |
void Lock(); |
33 |
|
bool Trylock(); |
34 |
void Unlock(); |
void Unlock(); |
35 |
protected: |
protected: |
36 |
pthread_mutex_t __posix_mutex; |
pthread_mutex_t __posix_mutex; |