You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@ibm.net> on 2000/03/02 23:18:43 UTC

any users/builders of 2.0 on OS/2?

Is emx the only supported OS/2 build?  Is the prefork mpm
working on OS/2 at all, or is only spmt_os2 working on
OS/2?

I'm trying to clean up the mutex code in the prefork mpm.
I noticed that there is no  ap_child_init_lock() in
apr/locks/os2/locks.c but there is accept_mutex_child_init()
in prefork.c.  If prefork.c is no longer used on OS/2, 
there is no loss, because I don't have to worry about mapping
prefork's accept_mutex_child_init() to ap_child_init_lock().  
Otherwise, some lucky person gets to debug an OS/2 
implementation of accept_mutex_child_init() for apr.


-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Re: any users/builders of 2.0 on OS/2?

Posted by Brian Havard <br...@kheldar.apana.org.au>.
On Thu, 2 Mar 2000 17:18:43 -0500, Jeff Trawick wrote:

>Is emx the only supported OS/2 build?

Yes.


>Is the prefork mpm
>working on OS/2 at all, or is only spmt_os2 working on
>OS/2?

I haven't tried using prefork on OS/2, only spmt_os2.



>I'm trying to clean up the mutex code in the prefork mpm.
>I noticed that there is no  ap_child_init_lock() in
>apr/locks/os2/locks.c but there is accept_mutex_child_init()
>in prefork.c.  If prefork.c is no longer used on OS/2, 
>there is no loss, because I don't have to worry about mapping
>prefork's accept_mutex_child_init() to ap_child_init_lock().  
>Otherwise, some lucky person gets to debug an OS/2 
>implementation of accept_mutex_child_init() for apr.

If ap_child_init_lock() is a standard APR function (and I think it is)
then just use it. I'll add an OS/2 implementation to APR if needed.

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Re: any users/builders of 2.0 on OS/2?

Posted by rb...@apache.org.
AFAIK, mpmt_os2 is the only MPMused on OS/2.  Prefork doesn't really make
sense on OS/2, and this is the purpose of the MPMs.

Ryan

On Thu, 2 Mar 2000, Jeff Trawick wrote:

> Is emx the only supported OS/2 build?  Is the prefork mpm
> working on OS/2 at all, or is only spmt_os2 working on
> OS/2?
> 
> I'm trying to clean up the mutex code in the prefork mpm.
> I noticed that there is no  ap_child_init_lock() in
> apr/locks/os2/locks.c but there is accept_mutex_child_init()
> in prefork.c.  If prefork.c is no longer used on OS/2, 
> there is no loss, because I don't have to worry about mapping
> prefork's accept_mutex_child_init() to ap_child_init_lock().  
> Otherwise, some lucky person gets to debug an OS/2 
> implementation of accept_mutex_child_init() for apr.
> 
> 
> -- 
> Jeff Trawick | trawick@ibm.net | PGP public key at web site:
>      http://www.geocities.com/SiliconValley/Park/9289/
>           Born in Roswell... married an alien...
> 


Come to the first official Apache Software Foundation
Conference!!!   <http://ApacheCon.Com/>

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------