current w32svrapi.c,1.5,1.6

Lee <[email protected]> Fri, 22 Jul 2016 12:12:35 +0000
Newsgroups gmane.comp.web.privoxy.cvs
Message-ID <[email protected]>
Update of /cvsroot/ijbswa/current
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv19853/current

Modified Files:
	w32svrapi.c 
Log Message:
The cygwin cross-compiler for windows has a posix thread library but darn if
I can figure out how to
#error "FIXME: Do pthread stuff here!"

So make a note that on cygwin
./configure --host=i686-w64-mingw32
requires --disable-pthread



Index: w32svrapi.c
===================================================================
RCS file: /cvsroot/ijbswa/current/w32svrapi.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** w32svrapi.c	4 Sep 2011 11:10:56 -0000	1.5
--- w32svrapi.c	22 Jul 2016 12:12:33 -0000	1.6
***************
*** 786,789 ****
--- 786,792 ----
  
  #ifndef FEATURE_PTHREAD
+    /* NOTE: a cygwin cross-compiler build for --host=i686-w64-mingw32 must disable POSIX threading - eg
+     *         ./configure --host=i686-w64-mingw32 --disable-pthread
+     */
     child_id = _beginthread(w32_service_listen_loop, 0, NULL);
     if (child_id > 0)


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev