summaryrefslogtreecommitdiff
path: root/threadproc/beos
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2004-03-01 21:05:44 +0000
committerJeff Trawick <trawick@apache.org>2004-03-01 21:05:44 +0000
commitdad2fc1d86960fcace78e57238ab7f7791c64bc5 (patch)
tree23fa8dede3931a898817011373a794896a233723 /threadproc/beos
parent76afb887e897d46a3342401110ef71a46b479e5b (diff)
downloadapr-dad2fc1d86960fcace78e57238ab7f7791c64bc5.tar.gz
Add apr_threadattr_stacksize_set() for overriding the default
stack size for threads created by apr_thread_create(). This is currently a not-implemented stub for BeOS. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64934 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/beos')
-rw-r--r--threadproc/beos/thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c
index 80ec13a6d..15f1ca091 100644
--- a/threadproc/beos/thread.c
+++ b/threadproc/beos/thread.c
@@ -49,6 +49,12 @@ APR_DECLARE(apr_status_t) apr_threadattr_detach_get(apr_threadattr_t *attr)
return APR_NOTDETACH;
}
+APR_DECLARE(apr_status_t) apr_threadattr_stacksize_set(apr_threadattr_t *attr,
+ apr_size_t stacksize)
+{
+ return APR_ENOTIMPL;
+}
+
static void *dummy_worker(void *opaque)
{
apr_thread_t *thd = (apr_thread_t*)opaque;