perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject cvs commit: modperl-2.0/src/modules/perl modperl_global.h
Date Fri, 10 Sep 2004 00:25:42 GMT
stas        2004/09/09 17:25:42

  Modified:    src/modules/perl modperl_global.h
  Log:
  note that modperl_global_get_pconf and modperl_global_get_server_rec
  return thread unsafe objects and therefore should be used with care
  
  Revision  Changes    Path
  1.7       +4 -0      modperl-2.0/src/modules/perl/modperl_global.h
  
  Index: modperl_global.h
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_global.h,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -u -r1.6 -r1.7
  --- modperl_global.h	13 Jun 2004 05:39:09 -0000	1.6
  +++ modperl_global.h	10 Sep 2004 00:25:41 -0000	1.7
  @@ -57,8 +57,12 @@
   type modperl_global_get_##gname(void); \
   void modperl_global_set_##gname(void *)
   
  +/* modperl_global_get_pconf returns a thread un-safe object */
   MP_GLOBAL_DECL(pconf, apr_pool_t *);
  +
  +/* modperl_global_get_server_rec returns a thread un-safe object */
   MP_GLOBAL_DECL(server_rec, server_rec *);
  +
   MP_GLOBAL_DECL(threaded_mpm, IV);
   
   apr_status_t modperl_tls_create(apr_pool_t *p, modperl_tls_t **key);
  
  
  

Mime
View raw message