diff options
author | Joe Orton <jorton@apache.org> | 2004-06-10 10:57:25 +0000 |
---|---|---|
committer | Joe Orton <jorton@apache.org> | 2004-06-10 10:57:25 +0000 |
commit | 21e0056b3946c2dfce2fcfebaad586a1f423d2a7 (patch) | |
tree | 8bf765683e1d69f6bc72c583d35bf610770de3ee /threadproc/netware | |
parent | 0d94d6e0aa6a20003db6f6d52d0576f1a6fe13ac (diff) | |
download | apr-21e0056b3946c2dfce2fcfebaad586a1f423d2a7.tar.gz |
Add apr_threadattr_guardsize_set function, which allows changing
the thread guard area size attribute for newly created threads.
* configure.in: Check for pthread_attr_setguardsize.
* include/apr_thread_proc.h (apr_threadattr_guardsize_set): Add
prototype.
* threadproc/unix/thread.c (apr_threadattr_guardsize_set): Add
function.
* threadproc/os2/thread.c, threadproc/win32/thread.c,
threadproc/beos/thread.c, threadproc/netware/thread.c
(apr_threadattr_guardsize_set): Add ENOTIMPL stubs.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/netware')
-rw-r--r-- | threadproc/netware/thread.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/threadproc/netware/thread.c b/threadproc/netware/thread.c index 1703b55b1..466d99115 100644 --- a/threadproc/netware/thread.c +++ b/threadproc/netware/thread.c @@ -57,6 +57,12 @@ APR_DECLARE(apr_status_t) apr_threadattr_stacksize_set(apr_threadattr_t *attr, return APR_SUCCESS; } +APR_DECLARE(apr_status_t) apr_threadattr_guardsize_set(apr_threadattr_t *attr, + apr_size_t size) +{ + return APR_ENOTIMPL; +} + static void *dummy_worker(void *opaque) { apr_thread_t *thd = (apr_thread_t *)opaque; |