apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spinka, Kristofer" <kspi...@style.net>
Subject [PATCH]: include/apr_thread_proc.h (part of stack size patch group)
Date Fri, 04 Apr 2003 10:02:30 GMT
--- include/apr_thread_proc.h   Fri Apr  4 04:48:03 2003
+++ include/apr_thread_proc.h.new       Fri Apr  4 04:24:57 2003
@@ -240,7 +240,24 @@
 APR_DECLARE(apr_status_t) apr_threadattr_create(apr_threadattr_t
**new_attr, 
                                                 apr_pool_t *cont);
 
+
 /**
+ * Set the stack size of a thread.
+ * @param attr The threadattr to affect 
+ * @param size_in_bytes Thread stack size in bytes
+ */
+APR_DECLARE(apr_status_t) apr_threadattr_stacksize_set(apr_threadattr_t
*attr, 
+                                                       apr_size_t
size_in_bytes);
+
+/**
+ * Get the stack size of this threadattr.
+ * @param attr The threadattr to reference 
+ */
+APR_DECLARE(apr_status_t) apr_threadattr_stacksize_get(apr_threadattr_t
*attr,
+                                                       apr_size_t
*size_in_bytes);
+
+
+/**
  * Set if newly created threads should be created in detached state.
  * @param attr The threadattr to affect 
  * @param on Thread detach state on or off


Mime
View raw message