mp3splt-gtk
0.9.2
Loading...
Searching...
No Matches
mutex.c
1
/**********************************************************
2
*
3
* mp3splt-gtk -- utility based on mp3splt,
4
* for mp3/ogg splitting without decoding
5
*
6
* Copyright: (C) 2005-2014 Alexandru Munteanu
7
* Contact: m@ioalex.net
8
*
9
* http://mp3splt.sourceforge.net/
10
*
11
*********************************************************/
12
/**********************************************************
13
*
14
* This program is free software; you can redistribute it and/or
15
16
* modify it under the terms of the GNU General Public License
17
* as published by the Free Software Foundation; either version 2
18
* of the License, or (at your option) any later version.
19
*
20
* This program is distributed in the hope that it will be useful,
21
* but WITHOUT ANY WARRANTY; without even the implied warranty of
22
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23
* GNU General Public License for more details.
24
*
25
* You should have received a copy of the GNU General Public License
26
* along with this program; if not, write to the Free Software
27
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
28
* USA.
29
*
30
*********************************************************/
31
32
#include "mutex.h"
33
#include "ui_types.h"
34
35
void
init_mutex(SPLT_MUTEX *mutex)
36
{
37
g_mutex_init(mutex);
38
}
39
40
void
clear_mutex(SPLT_MUTEX *mutex)
41
{
42
g_mutex_clear(mutex);
43
}
44
45
void
lock_mutex(SPLT_MUTEX *mutex)
46
{
47
g_mutex_lock(mutex);
48
}
49
50
void
unlock_mutex(SPLT_MUTEX *mutex)
51
{
52
g_mutex_unlock(mutex);
53
}
54
src
mutex.c
Generated on Sun Dec 15 2024 10:09:08 for mp3splt-gtk by
1.12.0