[mem]: Document mutex, rollback stack and tracking allocators

This commit is contained in:
flysand7
2024-09-14 10:46:35 +11:00
parent 3ed2ab6e2c
commit 016d1a84d4
4 changed files with 197 additions and 113 deletions
+30 -16
View File
@@ -4,68 +4,82 @@ import "base:builtin"
import "base:runtime"
/*
Mamory layout of the `any` type.
Memory layout of the `any` type.
*/
Raw_Any :: runtime.Raw_Any
/*
Mamory layout of the `string` type.
Memory layout of the `string` type.
*/
Raw_String :: runtime.Raw_String
/*
Mamory layout of the `cstring` type.
Memory layout of the `cstring` type.
*/
Raw_Cstring :: runtime.Raw_Cstring
/*
Mamory layout of `[]T` types.
Memory layout of `[]T` types.
*/
Raw_Slice :: runtime.Raw_Slice
/*
Mamory layout of `[dynamic]T` types.
Memory layout of `[dynamic]T` types.
*/
Raw_Dynamic_Array :: runtime.Raw_Dynamic_Array
/*
Mamory layout of `map[K]V` types.
Memory layout of `map[K]V` types.
*/
Raw_Map :: runtime.Raw_Map
/*
Mamory layout of `#soa []T` types.
Memory layout of `#soa []T` types.
*/
Raw_Soa_Pointer :: runtime.Raw_Soa_Pointer
/*
Mamory layout of the `complex32` type.
Memory layout of the `complex32` type.
*/
Raw_Complex32 :: runtime.Raw_Complex32
/*
Mamory layout of the `complex64` type.
Memory layout of the `complex64` type.
*/
Raw_Complex64 :: runtime.Raw_Complex64
/*
Mamory layout of the `complex128` type.
Memory layout of the `complex128` type.
*/
Raw_Complex128 :: runtime.Raw_Complex128
/*
Mamory layout of the `quaternion64` type.
Memory layout of the `quaternion64` type.
*/
Raw_Quaternion64 :: runtime.Raw_Quaternion64
/*
Mamory layout of the `quaternion128` type.
Memory layout of the `quaternion128` type.
*/
Raw_Quaternion128 :: runtime.Raw_Quaternion128
/*
Mamory layout of the `quaternion256` type.
Memory layout of the `quaternion256` type.
*/
Raw_Quaternion256 :: runtime.Raw_Quaternion256
/*
Mamory layout of the `quaternion64` type.
Memory layout of the `quaternion64` type.
*/
Raw_Quaternion64_Vector_Scalar :: runtime.Raw_Quaternion64_Vector_Scalar
/*
Mamory layout of the `quaternion128` type.
Memory layout of the `quaternion128` type.
*/
Raw_Quaternion128_Vector_Scalar :: runtime.Raw_Quaternion128_Vector_Scalar
/*
Mamory layout of the `quaternion256` type.
Memory layout of the `quaternion256` type.
*/
Raw_Quaternion256_Vector_Scalar :: runtime.Raw_Quaternion256_Vector_Scalar