Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
c327e765
Commit
c327e765
authored
Oct 07, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Elminiate pthread poisoning of manager process.
parent
bc19f22d
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 @
c327e765
...
...
@@ -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 @
c327e765
...
...
@@ -107,3 +107,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 @
c327e765
...
...
@@ -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