Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnishevent3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
varnishevent3
Commits
218d4fb0
Commit
218d4fb0
authored
May 24, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The params pointer itself is not volatile, only what it points to.
parent
bba36ef0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
heritage.h
bin/varnishd/heritage.h
+1
-1
varnishd.c
bin/varnishd/varnishd.c
+1
-1
No files found.
bin/varnishd/heritage.h
View file @
218d4fb0
...
...
@@ -214,7 +214,7 @@ struct params {
* We declare this a volatile pointer, so that reads of parameters
* become atomic, leaving the CLI thread lattitude to change the values
*/
extern
volatile
struct
params
*
volatile
params
;
extern
volatile
struct
params
*
params
;
extern
struct
heritage
heritage
;
void
child_main
(
void
);
bin/varnishd/varnishd.c
View file @
218d4fb0
...
...
@@ -71,7 +71,7 @@
#endif
struct
heritage
heritage
;
volatile
struct
params
*
volatile
params
;
volatile
struct
params
*
params
;
unsigned
d_flag
=
0
;
pid_t
mgt_pid
;
struct
vev_base
*
mgt_evb
;
...
...
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