summaryrefslogtreecommitdiff
path: root/include/arch/unix/locks.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/unix/locks.h')
-rw-r--r--include/arch/unix/locks.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/arch/unix/locks.h b/include/arch/unix/locks.h
index ce910d3d2..efff844a2 100644
--- a/include/arch/unix/locks.h
+++ b/include/arch/unix/locks.h
@@ -108,7 +108,7 @@ union semun {
};
#endif
-struct lock_t {
+struct ap_lock_t {
ap_context_t *cntxt;
ap_locktype_e type;
ap_lockscope_e scope;
@@ -138,19 +138,19 @@ struct lock_t {
};
#if APR_HAS_THREADS
-ap_status_t create_intra_lock(struct lock_t *new);
-ap_status_t lock_intra(struct lock_t *lock);
-ap_status_t unlock_intra(struct lock_t *lock);
-ap_status_t destroy_intra_lock(struct lock_t *lock);
+ap_status_t create_intra_lock(struct ap_lock_t *new);
+ap_status_t lock_intra(struct ap_lock_t *lock);
+ap_status_t unlock_intra(struct ap_lock_t *lock);
+ap_status_t destroy_intra_lock(struct ap_lock_t *lock);
#endif
void setup_lock();
-ap_status_t create_inter_lock(struct lock_t *new);
-ap_status_t lock_inter(struct lock_t *lock);
-ap_status_t unlock_inter(struct lock_t *lock);
-ap_status_t destroy_inter_lock(struct lock_t *lock);
+ap_status_t create_inter_lock(struct ap_lock_t *new);
+ap_status_t lock_inter(struct ap_lock_t *lock);
+ap_status_t unlock_inter(struct ap_lock_t *lock);
+ap_status_t destroy_inter_lock(struct ap_lock_t *lock);
-ap_status_t child_init_lock(struct lock_t **lock, ap_context_t *cont,
+ap_status_t child_init_lock(struct ap_lock_t **lock, ap_context_t *cont,
char *fname);
#endif /* LOCKS_H */