blob: ca14dead659b370ab65547a267036de51b017006 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
? gcc2.patch
? synchrolib.lo
? xx.c
Index: synchrolib.cc
===================================================================
RCS file:
/cvsroot/avidemux2/avidemux2/avidemux2/avidemux/mpeg2enc/synchrolib.cc,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 synchrolib.cc
--- synchrolib.cc 16 Sep 2003 18:02:26 -0000 1.1.1.1
+++ synchrolib.cc 2 Nov 2003 17:49:00 -0000
@@ -34,7 +34,7 @@
* Synchronisation primitives
*
********/
-
+#if 0
void sync_guard_init( sync_guard_t *guard, int init )
{
#ifdef __linux__
@@ -111,3 +111,12 @@
pthread_cond_broadcast( &sema->raised );
pthread_mutex_unlock( &sema->mutex );
}
+#else
+void mp_semaphore_wait( mp_semaphore_t *sema) {}
+void mp_semaphore_signal( mp_semaphore_t *sema, int count ) {}
+void mp_semaphore_set( mp_semaphore_t *sema ) {}
+void mp_semaphore_init( mp_semaphore_t *sema, int init_count ) {}
+void sync_guard_init( sync_guard_t *guard, int init ) {}
+void sync_guard_test( sync_guard_t *guard) {}
+void sync_guard_update( sync_guard_t *guard, int predicate ) {}
+#endif
|