Commit c327e765 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Elminiate pthread poisoning of manager process.

parent bc19f22d
...@@ -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 {
......
...@@ -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
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment