tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_jni.c
Date Thu, 21 Nov 2002 16:08:33 GMT
jfclere     2002/11/21 08:08:32

  Modified:    jk/native2/common jk_worker_jni.c
  Log:
  Allow no-threaded APR. - But no-threaded APR won't work anyway -
  
  Revision  Changes    Path
  1.35      +2 -0      jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c
  
  Index: jk_worker_jni.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_jni.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- jk_worker_jni.c	7 Nov 2002 07:28:27 -0000	1.34
  +++ jk_worker_jni.c	21 Nov 2002 16:08:32 -0000	1.35
  @@ -451,9 +451,11 @@
                                       jniWorker->jk_main_method,
                                       jargs);
           if (jniWorker->hook == JK2_WORKER_HOOK_SHUTDOWN) {
  +#if APR_HAS_THREADS
               while (jk_jni_status_code != 2) {
                   apr_thread_yield();
               }
  +#endif
               vm->detach(env, vm);
           }
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message