apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/locks/win32 thread_mutex.c
Date Tue, 11 Sep 2001 06:29:46 GMT
rbb         01/09/10 23:29:46

  Modified:    locks/win32 thread_mutex.c
  Log:
  We don't actually use this SECURITY_ATTRIBUTE, so it doesn't need to be
  there.
  
  Submitted by:	Greg Stein <gstein@lyra.org>
  
  Revision  Changes    Path
  1.3       +0 -5      apr/locks/win32/thread_mutex.c
  
  Index: thread_mutex.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/win32/thread_mutex.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- thread_mutex.c	2001/09/10 22:53:59	1.2
  +++ thread_mutex.c	2001/09/11 06:29:45	1.3
  @@ -71,14 +71,9 @@
   APR_DECLARE(apr_status_t) apr_thread_mutex_create(apr_thread_mutex_t **mutex,
                                                     apr_pool_t *pool)
   {
  -    SECURITY_ATTRIBUTES sec;
       (*mutex) = (apr_thread_mutex_t *)apr_palloc(pool, sizeof(**mutex));
   
       (*mutex)->pool = pool;
  -    sec.nLength = sizeof(SECURITY_ATTRIBUTES);
  -    sec.lpSecurityDescriptor = NULL;
  -    sec.bInheritHandle = FALSE;
  -
       InitializeCriticalSection(&(*mutex)->section);
       apr_pool_cleanup_register((*mutex)->pool, (*mutex), thread_mutex_cleanup,
                                 apr_pool_cleanup_null);
  
  
  

Mime
View raw message