[xiph-cvs] cvs commit: thread thread.h
Brendan
brendan at xiph.org
Wed Mar 5 11:52:10 PST 2003
brendan 03/03/05 14:52:10
Modified: . thread.h
Log:
Remove some namespace pollution
Revision Changes Path
1.10 +6 -6 thread/thread.h
Index: thread.h
===================================================================
RCS file: /usr/local/cvsroot/thread/thread.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- thread.h 4 Mar 2003 15:31:34 -0000 1.9
+++ thread.h 5 Mar 2003 19:52:10 -0000 1.10
@@ -26,7 +26,7 @@
/* renamed from thread_t due to conflict on OS X */
-typedef struct thread_tag {
+typedef struct {
/* the local id for the thread, and it's name */
long thread_id;
char *name;
@@ -38,14 +38,14 @@
char *file;
int line;
- /* is the thread running detached? */
- int detached;
+ /* is the thread running detached? */
+ int detached;
/* the system specific thread */
pthread_t sys_thread;
} thread_type;
-typedef struct mutex_tag {
+typedef struct {
#ifdef DEBUG_MUTEXES
/* the local id and name of the mutex */
long mutex_id;
@@ -64,7 +64,7 @@
pthread_mutex_t sys_mutex;
} mutex_t;
-typedef struct cond_tag {
+typedef struct {
#ifdef THREAD_DEBUG
long cond_id;
char *name;
@@ -74,7 +74,7 @@
pthread_cond_t sys_cond;
} cond_t;
-typedef struct rwlock_tag {
+typedef struct {
#ifdef THREAD_DEBUG
long rwlock_id;
char *name;
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list