Commit b4ef285f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Tollef Fog Heen

Elminiate pthread poisoning of manager process.

parent f697e673
......@@ -29,7 +29,6 @@
* This file contains the heritage passed when mgt forks cache
*/
#include <pthread.h>
#include "vre.h"
struct listen_sock {
......
......@@ -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
......@@ -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
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