diff options
author | David Reid <dreid@apache.org> | 2001-06-06 18:12:14 +0000 |
---|---|---|
committer | David Reid <dreid@apache.org> | 2001-06-06 18:12:14 +0000 |
commit | 09bc87909330678d364b0325dab940d3066678b3 (patch) | |
tree | 58a922c7192529dab2de7339fbfdf6587aacfb1c /include/apr_portable.h | |
parent | 0d9c66fc255b8a118afb45c6f2081218880b453c (diff) | |
download | apr-09bc87909330678d364b0325dab940d3066678b3.tar.gz |
This is a much larger commit than I meant to have, but a lot has
been changed in my tree today :)
- remove the sms code I committed yesterday
- add an apr_pool_t to the sms structure
- add locking code to the tracking sms
This threw up an issue with locking, so next
- change the locking code to add an owner and ref counting
so we can lock multiple times from the same thread. this was
needed by the apr_sms_tracking_reset code where we lock
and then call free which locks again...
I haven't added the locking changes for os2 or win32 after
the problems I created with my last commit :)
Changes to testlock on the way.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61716 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_portable.h')
-rw-r--r-- | include/apr_portable.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/apr_portable.h b/include/apr_portable.h index 26c4bec7d..b0b2b84a2 100644 --- a/include/apr_portable.h +++ b/include/apr_portable.h @@ -418,6 +418,8 @@ APR_DECLARE(apr_status_t) apr_os_dso_handle_put(apr_dso_handle_t **dso, APR_DECLARE(apr_status_t) apr_os_dso_handle_get(apr_os_dso_handle_t *dso, apr_dso_handle_t *aprdso); +APR_DECLARE(apr_os_thread_t) apr_os_thread_current(void); + #endif /* APR_HAS_DSO */ #ifdef __cplusplus |