Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
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
unique-xids
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
Show 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 @@
...
@@ -29,7 +29,6 @@
* This file contains the heritage passed when mgt forks cache
* This file contains the heritage passed when mgt forks cache
*/
*/
#include <pthread.h>
#include "vre.h"
#include "vre.h"
struct
listen_sock
{
struct
listen_sock
{
...
...
bin/varnishd/mgt.h
View file @
c327e765
...
@@ -107,3 +107,7 @@ extern unsigned mgt_vcc_err_unref;
...
@@ -107,3 +107,7 @@ extern unsigned mgt_vcc_err_unref;
#define VSM_Free(a) VSM__Free(a)
#define VSM_Free(a) VSM__Free(a)
#define VSM_Clean() VSM__Clean()
#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)
...
@@ -653,3 +653,7 @@ main(int argc, char * const *argv)
(
void
)
VPF_Remove
(
pfh
);
(
void
)
VPF_Remove
(
pfh
);
exit
(
exit_status
);
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