httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/threadproc/win32 threadcancel.c
Date Fri, 14 Apr 2000 01:54:14 GMT
dgaudet     00/04/13 18:54:14

  Modified:    src/lib/apr/include apr_thread_proc.h
               src/lib/apr/threadproc/beos Makefile.in
               src/lib/apr/threadproc/os2 Makefile.in
               src/lib/apr/threadproc/unix Makefile.in
  Removed:     src/lib/apr/threadproc/beos threadcancel.c
               src/lib/apr/threadproc/os2 threadcancel.c
               src/lib/apr/threadproc/unix threadcancel.c
               src/lib/apr/threadproc/win32 threadcancel.c
  Log:
  thread cancellation is essentially the same as signals -- a form of
  asynchronous notification.  the apache threading model doesn't have
  asynchronous notification, so we don't need this part of the API.
  
  Revision  Changes    Path
  1.22      +0 -9      apache-2.0/src/lib/apr/include/apr_thread_proc.h
  
  Index: apr_thread_proc.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_thread_proc.h,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- apr_thread_proc.h	2000/04/14 01:40:35	1.21
  +++ apr_thread_proc.h	2000/04/14 01:54:10	1.22
  @@ -72,11 +72,6 @@
   #define APR_PARENT_BLOCK     3
   #define APR_CHILD_BLOCK      4
   
  -#define APR_CANCEL_ASYNCH      1
  -#define APR_CANCEL_DEFER       2
  -#define APR_CANCEL_ENABLE      3
  -#define APR_CANCEL_DISABLE     4
  -
   #define APR_OC_REASON_DEATH         0     /* child has died, caller must call
                                              * unregister still */
   #define APR_OC_REASON_UNWRITABLE    1     /* write_fd is unwritable */
  @@ -161,10 +156,6 @@
    * arg 1) The thread to detach 
    */
   ap_status_t ap_thread_detach(ap_thread_t *thd);
  -
  -ap_status_t ap_cancel_thread(ap_thread_t *thd);
  -ap_status_t ap_setcanceltype(ap_int32_t type, ap_context_t *cont);
  -ap_status_t ap_setcancelstate(ap_int32_t type, ap_context_t *cont);
   
   /* ***APRDOC********************************************************
    * ap_status_t ap_get_threaddata(void **data, char *key, ap_thread_t *thread)
  
  
  
  1.9       +0 -8      apache-2.0/src/lib/apr/threadproc/beos/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/beos/Makefile.in,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Makefile.in	2000/04/05 11:24:21	1.8
  +++ Makefile.in	2000/04/14 01:54:12	1.9
  @@ -16,7 +16,6 @@
   
   OBJS=proc.o \
   	thread.o \
  -	threadcancel.o \
   	threadpriv.o \
   	threadproc_common.o \
           procsup.o \
  @@ -88,13 +87,6 @@
    $(INCDIR)/apr_config.h $(INCDIR)/apr_lib.h \
    $(INCDIR)/apr_portable.h $(INCDIR)/apr_network_io.h \
    $(INCDIR)/apr_lock.h
  -threadcancel.o: threadcancel.c threadproc.h \
  - $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
  - $(INCDIR)/apr_general.h $(INCDIR)/apr.h \
  - $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \
  - ../../file_io/unix/fileio.h $(INCDIR)/apr_config.h \
  - $(INCDIR)/apr_lib.h $(INCDIR)/apr_portable.h \
  - $(INCDIR)/apr_network_io.h $(INCDIR)/apr_lock.h
   threadpriv.o: threadpriv.c threadproc.h \
    $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
    $(INCDIR)/apr_general.h $(INCDIR)/apr.h \
  
  
  
  1.6       +0 -6      apache-2.0/src/lib/apr/threadproc/os2/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/os2/Makefile.in,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Makefile.in	2000/03/16 10:04:57	1.5
  +++ Makefile.in	2000/04/14 01:54:13	1.6
  @@ -17,7 +17,6 @@
   
   OBJS=proc.o \
   	thread.o \
  -	threadcancel.o \
   	threadpriv.o \
   	signals.o
   
  @@ -72,11 +71,6 @@
    $(INCDIR1)/apr_file_io.h $(INCDIR1)/apr_general.h \
    $(INCDIR1)/apr.h $(INCDIR1)/apr_errno.h \
    $(INCDIR1)/apr_time.h $(INCDIR1)/apr_lib.h \
  - $(INCDIR2)/fileio.h $(INCDIR1)/apr_config.h
  -threadcancel.o: threadcancel.c threadproc.h \
  - $(INCDIR1)/apr_thread_proc.h $(INCDIR1)/apr_file_io.h \
  - $(INCDIR1)/apr_general.h $(INCDIR1)/apr.h \
  - $(INCDIR1)/apr_errno.h $(INCDIR1)/apr_time.h \
    $(INCDIR2)/fileio.h $(INCDIR1)/apr_config.h
   threadpriv.o: threadpriv.c threadproc.h \
    $(INCDIR1)/apr_thread_proc.h $(INCDIR1)/apr_file_io.h \
  
  
  
  1.10      +0 -6      apache-2.0/src/lib/apr/threadproc/unix/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/threadproc/unix/Makefile.in,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Makefile.in	2000/03/18 12:32:20	1.9
  +++ Makefile.in	2000/04/14 01:54:13	1.10
  @@ -18,7 +18,6 @@
   OBJS=proc.o \
   	procsup.o \
   	thread.o \
  -	threadcancel.o \
   	threadpriv.o \
   	signals.o
   
  @@ -79,11 +78,6 @@
    ../../file_io/unix/fileio.h $(INCDIR)/apr_lib.h \
    $(INCDIR)/apr_portable.h $(INCDIR)/apr_network_io.h \
    $(INCDIR)/apr_lock.h
  -threadcancel.o: threadcancel.c threadproc.h $(INCDIR)/apr_config.h \
  - $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
  - $(INCDIR)/apr_general.h $(INCDIR)/apr.h \
  - $(INCDIR)/apr_errno.h $(INCDIR)/apr_time.h \
  - ../../file_io/unix/fileio.h $(INCDIR)/apr_lib.h
   threadpriv.o: threadpriv.c threadproc.h $(INCDIR)/apr_config.h \
    $(INCDIR)/apr_thread_proc.h $(INCDIR)/apr_file_io.h \
    $(INCDIR)/apr_general.h $(INCDIR)/apr.h \
  
  
  

Mime
View raw message