[PD-cvs] pd/src m_fifo.c,1.1.2.11,1.1.2.12
Tim Blechmann
timblech at users.sourceforge.net
Fri May 6 11:33:54 CEST 2005
- Previous message: [PD-cvs] externals/PDContainer/src h_deque.cpp, 1.2, 1.3 h_list.cpp, 1.4, 1.5 h_map.cpp, 1.2, 1.3 h_multimap.cpp, 1.2, 1.3 h_multiset.cpp, 1.2, 1.3 h_set.cpp, 1.2, 1.3 h_vector.cpp, 1.2, 1.3
- Next message: [PD-cvs] pd/src m_simd_sse_gcc.c,1.1.4.12,1.1.4.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17430
Modified Files:
Tag: devel_0_38
m_fifo.c
Log Message:
forgot structure
Index: m_fifo.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/m_fifo.c,v
retrieving revision 1.1.2.11
retrieving revision 1.1.2.12
diff -C2 -d -r1.1.2.11 -r1.1.2.12
*** m_fifo.c 4 May 2005 17:14:34 -0000 1.1.2.11
--- m_fifo.c 6 May 2005 09:33:52 -0000 1.1.2.12
***************
*** 1,3 ****
! ./* Copyright (c) 2004, Tim Blechmann
* supported by vibrez.net
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
--- 1,3 ----
! /* Copyright (c) 2004, Tim Blechmann
* supported by vibrez.net
* For information on usage and redistribution, and for a DISCLAIMER OF ALL
***************
*** 17,24 ****
#include "errno.h"
struct _fifo
{
t_fifocell * head;
! t_fifocell * tail;
pthread_mutex_t mutex;
};
--- 17,30 ----
#include "errno.h"
+ typedef struct _fifocell
+ {
+ struct _fifocell* next;
+ void* data; /* pointer to our data */
+ } t_fifocell;
+
struct _fifo
{
t_fifocell * head;
! t_fifocell * tail;
pthread_mutex_t mutex;
};
- Previous message: [PD-cvs] externals/PDContainer/src h_deque.cpp, 1.2, 1.3 h_list.cpp, 1.4, 1.5 h_map.cpp, 1.2, 1.3 h_multimap.cpp, 1.2, 1.3 h_multiset.cpp, 1.2, 1.3 h_set.cpp, 1.2, 1.3 h_vector.cpp, 1.2, 1.3
- Next message: [PD-cvs] pd/src m_simd_sse_gcc.c,1.1.4.12,1.1.4.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Pd-cvs
mailing list