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
b4ef285f
Commit
b4ef285f
authored
Oct 07, 2011
by
Poul-Henning Kamp
Committed by
Tollef Fog Heen
Feb 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elminiate pthread poisoning of manager process.
parent
f697e673
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
heritage.h
bin/varnishd/heritage.h
+0
-1
mgt.h
bin/varnishd/mgt.h
+4
-0
varnishd.c
bin/varnishd/varnishd.c
+4
-0
No files found.
bin/varnishd/heritage.h
View file @
b4ef285f
...
...
@@ -29,7 +29,6 @@
* This file contains the heritage passed when mgt forks cache
*/
#include <pthread.h>
#include "vre.h"
struct
listen_sock
{
...
...
bin/varnishd/mgt.h
View file @
b4ef285f
...
...
@@ -108,3 +108,7 @@ extern unsigned mgt_vcc_err_unref;
#define VSM_Free(a) VSM__Free(a)
#define VSM_Clean() VSM__Clean()
#if defined(PTHREAD_CANCELED) || defined(PTHREAD_MUTEX_DEFAULT)
#error "Keep pthreads out of in manager process"
#endif
bin/varnishd/varnishd.c
View file @
b4ef285f
...
...
@@ -653,3 +653,7 @@ main(int argc, char * const *argv)
(
void
)
VPF_Remove
(
pfh
);
exit
(
exit_status
);
}
#if defined(PTHREAD_CANCELED) || defined(PTHREAD_MUTEX_DEFAULT)
#error "Keep pthreads out of in manager process"
#endif
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