summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/array.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension/array.h')
-rw-r--r--libdimension/dimension/array.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libdimension/dimension/array.h b/libdimension/dimension/array.h
index 30a119d..5abdf48 100644
--- a/libdimension/dimension/array.h
+++ b/libdimension/dimension/array.h
@@ -48,10 +48,11 @@ void dmnsn_array_set(dmnsn_array *array, size_t i, const void *obj);
void dmnsn_array_resize(dmnsn_array *array, size_t length);
-/* Thread-unsafe! Don't give multiple threads the same raw pointer... */
+/* Manual locking */
+
void *dmnsn_array_at(dmnsn_array *array, size_t i);
+void dmnsn_array_resize_unlocked(dmnsn_array *array, size_t length);
-/* Manual locking */
void dmnsn_array_rdlock(const dmnsn_array *array);
void dmnsn_array_wrlock(dmnsn_array *array);
void dmnsn_array_unlock(const dmnsn_array *array);