apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spinka, Kristofer" <kspi...@style.net>
Subject [PATCH]: threadproc/netware/thread.c (part of stack size patch group)
Date Fri, 04 Apr 2003 10:08:45 GMT
--- threadproc/netware/thread.c Fri Apr  4 04:47:41 2003
+++ threadproc/netware/thread.c.new     Fri Apr  4 04:36:03 2003
@@ -76,6 +76,18 @@
     return APR_SUCCESS;
 }
 
+apr_status_t apr_threadattr_stacksize_set(apr_threadattr_t *attr,
+                                          apr_size_t size_in_bytes)
+{
+       attr->stack_size = size_in_bytes;
+}
+
+apr_status_t apr_threadattr_stacksize_get(apr_threadattr_t *attr,
+                                          apr_size_t *size_in_bytes)
+{
+       *size_in_bytes = attr->stack_size;
+}
+
 apr_status_t apr_threadattr_detach_set(apr_threadattr_t
*attr,apr_int32_t on)
 {
     attr->detach = on;

   /kristofer


Mime
View raw message