Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Icecast-Server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
93
Issues
93
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Icecast-Server
Commits
17c17855
Commit
17c17855
authored
Oct 27, 2004
by
Karl Heyes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct type for volatile usage and uncomment log message for stats updating
svn path=/icecast/trunk/icecast/; revision=8123
parent
5db66780
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
src/connection.c
src/connection.c
+1
-1
src/fserve.c
src/fserve.c
+1
-1
src/stats.c
src/stats.c
+5
-5
src/yp.c
src/yp.c
+1
-1
No files found.
src/connection.c
View file @
17c17855
...
...
@@ -79,7 +79,7 @@ static mutex_t _connection_mutex;
static
volatile
unsigned
long
_current_id
=
0
;
static
int
_initialized
=
0
;
static
volatile
con_queue_t
*
_queue
=
NULL
;
volatile
static
con_queue_t
*
_queue
=
NULL
;
static
mutex_t
_queue_mutex
;
static
thread_queue_t
*
_conhands
=
NULL
;
...
...
src/fserve.c
View file @
17c17855
...
...
@@ -61,7 +61,7 @@
#endif
static
fserve_t
*
active_list
=
NULL
;
static
volatile
fserve_t
*
pending_list
=
NULL
;
volatile
static
fserve_t
*
pending_list
=
NULL
;
static
mutex_t
pending_lock
;
static
avl_tree
*
mimetypes
=
NULL
;
...
...
src/stats.c
View file @
17c17855
...
...
@@ -57,17 +57,17 @@ typedef struct _event_listener_tag
struct
_event_listener_tag
*
next
;
}
event_listener_t
;
static
volatile
int
_stats_running
=
0
;
volatile
static
int
_stats_running
=
0
;
static
thread_type
*
_stats_thread_id
;
static
volatile
int
_stats_threads
=
0
;
volatile
static
int
_stats_threads
=
0
;
static
stats_t
_stats
;
static
mutex_t
_stats_mutex
;
static
volatile
stats_event_t
*
_global_event_queue
;
volatile
static
stats_event_t
*
_global_event_queue
;
mutex_t
_global_event_mutex
;
static
volatile
event_listener_t
*
_event_listeners
;
volatile
static
event_listener_t
*
_event_listeners
;
static
void
*
_stats_thread
(
void
*
arg
);
...
...
@@ -398,7 +398,7 @@ static void modify_node_event (stats_node_t *node, stats_event_t *event)
str
=
(
char
*
)
strdup
(
event
->
value
);
free
(
node
->
value
);
node
->
value
=
str
;
/* DEBUG3 ("update node %s \"%s\" (%d)", node->name, node->value, event->action); */
DEBUG2
(
"update node %s (%s)"
,
node
->
name
,
node
->
value
);
}
...
...
src/yp.c
View file @
17c17855
...
...
@@ -84,7 +84,7 @@ typedef struct ypdata_tag
static
rwlock_t
yp_lock
;
static
mutex_t
yp_pending_lock
;
static
volatile
struct
yp_server
*
active_yps
=
NULL
,
*
pending_yps
=
NULL
;
volatile
static
struct
yp_server
*
active_yps
=
NULL
,
*
pending_yps
=
NULL
;
static
volatile
int
yp_update
=
0
;
static
int
yp_running
;
static
time_t
now
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment