diff options
author | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-31 18:48:03 +0000 |
---|---|---|
committer | dreid <dreid@13f79535-47bb-0310-9956-ffa450edef68> | 2000-12-31 18:48:03 +0000 |
commit | 297186f3e4dc5ed2cbbb06bc8500d5b7cafba126 (patch) | |
tree | 9b46a946a1a86623fef8e05b7dd3967a3e8425e8 /threadproc | |
parent | 5296d3a23c0d72e25babb5583022d967c6e25a1d (diff) | |
download | libapr-297186f3e4dc5ed2cbbb06bc8500d5b7cafba126.tar.gz |
Various bits of tidying up mainly for locking, but a few thread bits as well.
Submitted by: Carlos Hasan <chasan@acm.org>
Reviewed by: David Reid <dreid@apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60998 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc')
-rw-r--r-- | threadproc/beos/thread.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c index 1dc7210f2..d141d835e 100644 --- a/threadproc/beos/thread.c +++ b/threadproc/beos/thread.c @@ -58,8 +58,6 @@ apr_status_t apr_create_threadattr(apr_threadattr_t **new, apr_pool_t *cont) { (*new) = (apr_threadattr_t *)apr_palloc(cont, sizeof(apr_threadattr_t)); - (*new)->attr = (int32)apr_palloc(cont, - sizeof(int32)); if ((*new) == NULL) { return APR_ENOMEM; @@ -101,11 +99,6 @@ apr_status_t apr_create_thread(apr_thread_t **new, apr_threadattr_t *attr, return APR_ENOMEM; } - (*new)->td = (thread_id) apr_palloc(cont, sizeof(thread_id)); - if ((*new)->td == (thread_id)NULL) { - return APR_ENOMEM; - } - (*new)->cntxt = cont; /* First we create the new thread...*/ |