apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <madhusudan_mathiha...@hp.com>
Subject RE: HPUX 10.20 threading?
Date Mon, 10 Mar 2003 19:30:19 GMT
more updates : I was just talking one of my friend, and he says,

- there's no PTHREAD_ONCE_INIT for 10.20. Instead, there should be a
pthread_once_init (all lower case).
- ask the customer to read the CMA/DCE developer notes
- applications should link with -lcma
- more information about difference b/w CMA threads and pthreads are
available at :
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,,970!0
!,00.html

As regards installing "your own" pthread implementation, I really don't know
how it would work (things like Pth etc)..
Are there ppl out there trying to get Apache 2 to work on hpux9 ?.

+1 the patch..I would think it's okay to disable it for now - it's better
than having it broken :)..
(sorry - I can't test till I get a 10.20 machine).

Thanks
-Madhu

-----Original Message-----
From: William A. Rowe, Jr. [mailto:wrowe@rowe-clan.net]
Sent: Monday, March 10, 2003 10:54 AM
To: MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)
Cc: dev@apr.apache.org
Subject: RE: HPUX 10.20 threading?


At 11:57 AM 3/10/2003, MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1) wrote:
>- 10.20 does not have pthreads. The threading library is called CMA
threads,
>and is pretty different in terms of implementation and API's from that of
>Pthread library.

I understand that once can install pthreads, but that seems dicey... here
is what I figure to be the correct patch; please confirm...

(I'm guessing hpux9 won't even suggest pthreads can be enabled and 
we won't try.)

Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.518
diff -u -r1.518 configure.in
--- configure.in        10 Mar 2003 09:50:38 -0000      1.518
+++ configure.in        10 Mar 2003 18:50:38 -0000
@@ -445,6 +445,11 @@
        OSDIR="unix"
        eolstr="\\n"
        ;;
+   *hpux10* ) 
+       enable_threads="no"
+       OSDIR="unix"
+       eolstr="\\n"
+       ;;
    *)
        OSDIR="unix"
        eolstr="\\n"



Mime
View raw message