summaryrefslogtreecommitdiff
path: root/threadproc/beos/threadpriv.c
diff options
context:
space:
mode:
Diffstat (limited to 'threadproc/beos/threadpriv.c')
-rw-r--r--threadproc/beos/threadpriv.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/threadproc/beos/threadpriv.c b/threadproc/beos/threadpriv.c
index 037ce46a1..f6d34f222 100644
--- a/threadproc/beos/threadpriv.c
+++ b/threadproc/beos/threadpriv.c
@@ -58,7 +58,7 @@ static struct beos_key key_table[BEOS_MAX_DATAKEYS];
static struct beos_private_data *beos_data[BEOS_MAX_DATAKEYS];
static sem_id lock;
-apr_status_t apr_create_thread_private(apr_threadkey_t **key,
+apr_status_t apr_threadkey_private_create(apr_threadkey_t **key,
void (*dest)(void *), apr_pool_t *cont)
{
(*key) = (apr_threadkey_t *)apr_palloc(cont, sizeof(apr_threadkey_t));
@@ -82,7 +82,7 @@ apr_status_t apr_create_thread_private(apr_threadkey_t **key,
return APR_ENOMEM;
}
-apr_status_t apr_get_thread_private(void **new, apr_threadkey_t *key)
+apr_status_t apr_threadkey_private_get(void **new, apr_threadkey_t *key)
{
thread_id tid;
int i, index=0;
@@ -114,7 +114,7 @@ apr_status_t apr_get_thread_private(void **new, apr_threadkey_t *key)
return APR_SUCCESS;
}
-apr_status_t apr_set_thread_private(void *priv, apr_threadkey_t *key)
+apr_status_t apr_threadkey_private_set(void *priv, apr_threadkey_t *key)
{
thread_id tid;
int i,index = 0, ret;
@@ -169,7 +169,7 @@ apr_status_t apr_set_thread_private(void *priv, apr_threadkey_t *key)
return APR_ENOMEM;
}
-apr_status_t apr_delete_thread_private(apr_threadkey_t *key)
+apr_status_t apr_threadkey_private_delete(apr_threadkey_t *key)
{
if (key->key < BEOS_MAX_DATAKEYS){
acquire_sem(key_table[key->key].lock);
@@ -184,26 +184,26 @@ apr_status_t apr_delete_thread_private(apr_threadkey_t *key)
return APR_SUCCESS;
}
-apr_status_t apr_get_threadkeydata(void **data, const char *key,
+apr_status_t apr_threadkey_data_get(void **data, const char *key,
apr_threadkey_t *threadkey)
{
- return apr_get_userdata(data, key, threadkey->cntxt);
+ return apr_pool_userdata_get(data, key, threadkey->cntxt);
}
-apr_status_t apr_set_threadkeydata(void *data, const char *key,
+apr_status_t apr_threadkey_data_set(void *data, const char *key,
apr_status_t (*cleanup) (void *),
apr_threadkey_t *threadkey)
{
- return apr_set_userdata(data, key, cleanup, threadkey->cntxt);
+ return apr_pool_userdata_set(data, key, cleanup, threadkey->cntxt);
}
-apr_status_t apr_get_os_threadkey(apr_os_threadkey_t *thekey, apr_threadkey_t *key)
+apr_status_t apr_os_threadkey_get(apr_os_threadkey_t *thekey, apr_threadkey_t *key)
{
*thekey = key->key;
return APR_SUCCESS;
}
-apr_status_t apr_put_os_threadkey(apr_threadkey_t **key,
+apr_status_t apr_os_threadkey_put(apr_threadkey_t **key,
apr_os_threadkey_t *thekey, apr_pool_t *cont)
{
if (cont == NULL) {