You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Lars Eilebrecht <La...@unix-ag.org> on 1997/11/10 18:30:59 UTC

pthreads

Hi,

I tried to compile 1.3b3-dev on a Solaris 2.4 box, but I had to compile
without USE_PTHREAD_SERIALIZED_ACCEPT.
IMHO Solaris 2.4 (and below) doesn't has pthread support by default.


ciao...
-- 
Lars Eilebrecht      - "Keep computers away from windows"                    
sfx@unix-ag.org        (Garfinkel/Spafford: Practical Unix & Internet Security)      

Re: pthreads

Posted by Dean Gaudet <dg...@arctic.org>.
Ack!  I messed up reverting Roy's change back to USE_FCNTL... try this
patch.

Dean

On Mon, 10 Nov 1997, Lars Eilebrecht wrote:

> Hi,
> 
> I tried to compile 1.3b3-dev on a Solaris 2.4 box, but I had to compile
> without USE_PTHREAD_SERIALIZED_ACCEPT.
> IMHO Solaris 2.4 (and below) doesn't has pthread support by default.

Index: conf.h
===================================================================
RCS file: /export/home/cvs/apachen/src/main/conf.h,v
retrieving revision 1.155
diff -u -r1.155 conf.h
--- conf.h	1997/11/08 21:47:34	1.155
+++ conf.h	1997/11/10 19:36:11
@@ -124,9 +124,13 @@
 #undef NO_SETSID
 #define HAVE_SYS_RESOURCE_H
 #define bzero(a,b) memset(a,0,b)
+#if SOLARIS2 < 250
+#define USE_FCNTL_SERIALIZED_ACCEPT
+#else
 #if !defined(USE_SYSVSEM_SERIALIZED_ACCEPT) && \
     !defined(USE_FCNTL_SERIALIZED_ACCEPT)
 #define USE_PTHREAD_SERIALIZED_ACCEPT
+#endif
 #endif
 #define NEED_UNION_SEMUN
 #define HAVE_MMAP