diff options
Diffstat (limited to 'threadproc/beos/thread.c')
-rw-r--r-- | threadproc/beos/thread.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/threadproc/beos/thread.c b/threadproc/beos/thread.c index e9ec347e2..1d4acefaa 100644 --- a/threadproc/beos/thread.c +++ b/threadproc/beos/thread.c @@ -54,12 +54,12 @@ #include "threadproc.h" -ap_status_t ap_create_threadattr(struct threadattr_t **new, ap_context_t *cont) +ap_status_t ap_create_threadattr(struct ap_threadattr_t **new, ap_context_t *cont) { ap_status_t stat; - (*new) = (struct threadattr_t *)ap_palloc(cont, - sizeof(struct threadattr_t)); + (*new) = (struct ap_threadattr_t *)ap_palloc(cont, + sizeof(struct ap_threadattr_t)); (*new)->attr = (int32)ap_palloc(cont, sizeof(int32)); @@ -73,7 +73,7 @@ ap_status_t ap_create_threadattr(struct threadattr_t **new, ap_context_t *cont) return APR_SUCCESS; } -ap_status_t ap_setthreadattr_detach(struct threadattr_t *attr, ap_int32_t on) +ap_status_t ap_setthreadattr_detach(struct ap_threadattr_t *attr, ap_int32_t on) { if (on == 1){ attr->detached = 1; @@ -83,7 +83,7 @@ ap_status_t ap_setthreadattr_detach(struct threadattr_t *attr, ap_int32_t on) return APR_SUCCESS; } -ap_status_t ap_getthreadattr_detach(struct threadattr_t *attr) +ap_status_t ap_getthreadattr_detach(struct ap_threadattr_t *attr) { if (attr->detached == 1){ return APR_DETACH; @@ -91,14 +91,14 @@ ap_status_t ap_getthreadattr_detach(struct threadattr_t *attr) return APR_NOTDETACH; } -ap_status_t ap_create_thread(struct thread_t **new, struct threadattr_t *attr, +ap_status_t ap_create_thread(struct ap_thread_t **new, struct ap_threadattr_t *attr, ap_thread_start_t func, void *data, ap_context_t *cont) { int32 temp; ap_status_t stat; - (*new) = (struct thread_t *)ap_palloc(cont, sizeof(struct thread_t)); + (*new) = (struct ap_thread_t *)ap_palloc(cont, sizeof(struct ap_thread_t)); if ((*new) == NULL) { return APR_ENOMEM; } |