mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-11-03 04:17:20 -05:00
Remove some namespace pollution
svn path=/trunk/thread/; revision=4409
This commit is contained in:
parent
eb9a7d367f
commit
35dedf9ac4
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
/* renamed from thread_t due to conflict on OS X */
|
/* 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 */
|
/* the local id for the thread, and it's name */
|
||||||
long thread_id;
|
long thread_id;
|
||||||
char *name;
|
char *name;
|
||||||
@ -45,7 +45,7 @@ typedef struct thread_tag {
|
|||||||
pthread_t sys_thread;
|
pthread_t sys_thread;
|
||||||
} thread_type;
|
} thread_type;
|
||||||
|
|
||||||
typedef struct mutex_tag {
|
typedef struct {
|
||||||
#ifdef DEBUG_MUTEXES
|
#ifdef DEBUG_MUTEXES
|
||||||
/* the local id and name of the mutex */
|
/* the local id and name of the mutex */
|
||||||
long mutex_id;
|
long mutex_id;
|
||||||
@ -64,7 +64,7 @@ typedef struct mutex_tag {
|
|||||||
pthread_mutex_t sys_mutex;
|
pthread_mutex_t sys_mutex;
|
||||||
} mutex_t;
|
} mutex_t;
|
||||||
|
|
||||||
typedef struct cond_tag {
|
typedef struct {
|
||||||
#ifdef THREAD_DEBUG
|
#ifdef THREAD_DEBUG
|
||||||
long cond_id;
|
long cond_id;
|
||||||
char *name;
|
char *name;
|
||||||
@ -74,7 +74,7 @@ typedef struct cond_tag {
|
|||||||
pthread_cond_t sys_cond;
|
pthread_cond_t sys_cond;
|
||||||
} cond_t;
|
} cond_t;
|
||||||
|
|
||||||
typedef struct rwlock_tag {
|
typedef struct {
|
||||||
#ifdef THREAD_DEBUG
|
#ifdef THREAD_DEBUG
|
||||||
long rwlock_id;
|
long rwlock_id;
|
||||||
char *name;
|
char *name;
|
||||||
|
Loading…
Reference in New Issue
Block a user