diff options
author | Jean-Frederic Clere <jfclere@apache.org> | 2009-05-04 10:20:42 +0000 |
---|---|---|
committer | Jean-Frederic Clere <jfclere@apache.org> | 2009-05-04 10:20:42 +0000 |
commit | 1f4fe314e956096e73030d80217cf5f4c64c651c (patch) | |
tree | 9529737bc47fc7299b76975809b39300afe2e1ba /include/ap_slotmem.h | |
parent | 9c47ca143849208a3ad4b91ce3b263b001ede0ad (diff) | |
download | httpd-1f4fe314e956096e73030d80217cf5f4c64c651c.tar.gz |
Remove ap_slotmem_lock / ap_slotmem_unlock from the slotmem API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771262 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_slotmem.h')
-rw-r--r-- | include/ap_slotmem.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/include/ap_slotmem.h b/include/ap_slotmem.h index 48efacf626..a9578a18e0 100644 --- a/include/ap_slotmem.h +++ b/include/ap_slotmem.h @@ -104,20 +104,6 @@ struct ap_slotmem_storage_method { */ apr_status_t (* slotmem_mem)(ap_slotmem_t *s, unsigned int item_id, void**mem); /** - * lock the memory segment - * NOTE: All slots share the same mutex - * @param s ap_slotmem_t to use - * @return APR_SUCCESS if all went well - */ - apr_status_t (* slotmem_lock)(ap_slotmem_t *s); - /** - * unlock the memory segment - * NOTE: All slots share the same mutex - * @param s ap_slotmem_t to use. - * @return APR_SUCCESS if all went well - */ - apr_status_t (* slotmem_unlock)(ap_slotmem_t *s); - /** * retrieve the memory associated with this worker slot. * @param s ap_slotmem_t to use. * @param item_id item to return for 0 to item_num @@ -203,22 +189,6 @@ AP_DECLARE(apr_status_t) ap_slotmem_attach(ap_slotmem_storage_method *sm, ap_slo */ AP_DECLARE(apr_status_t) ap_slotmem_mem(ap_slotmem_storage_method *sm, ap_slotmem_t *s, unsigned int item_id, void**mem); /** - * lock the memory segment - * NOTE: All slots share the same mutex - * @param sm ap_slotmem_storage_method provider obtained - * @param s ap_slotmem_t to use - * @return APR_SUCCESS if all went well - */ -AP_DECLARE(apr_status_t) ap_slotmem_lock(ap_slotmem_storage_method *sm, ap_slotmem_t *s); -/** - * unlock the memory segment - * NOTE: All slots share the same mutex - * @param sm ap_slotmem_storage_method provider obtained - * @param s ap_slotmem_t to use. - * @return APR_SUCCESS if all went well - */ -AP_DECLARE(apr_status_t) ap_slotmem_unlock(ap_slotmem_storage_method *sm, ap_slotmem_t *s); -/** * retrieve the memory associated with this worker slot. * @param sm ap_slotmem_storage_method provider obtained * @param s ap_slotmem_t to use. |