Fix typo in comment

it -> if in mimalloc-types.h
This commit is contained in:
unknown 2021-04-17 15:08:25 -03:00
parent b19da8e362
commit 8311cef0d1

View File

@ -270,7 +270,7 @@ typedef struct mi_segment_s {
struct mi_segment_s* prev; struct mi_segment_s* prev;
size_t abandoned; // abandoned pages (i.e. the original owning thread stopped) (`abandoned <= used`) size_t abandoned; // abandoned pages (i.e. the original owning thread stopped) (`abandoned <= used`)
size_t abandoned_visits; // count how often this segment is visited in the abandoned list (to force reclaim it it is too long) size_t abandoned_visits; // count how often this segment is visited in the abandoned list (to force reclaim if it is too long)
size_t used; // count of pages in use (`used <= capacity`) size_t used; // count of pages in use (`used <= capacity`)
size_t capacity; // count of available pages (`#free + used`) size_t capacity; // count of available pages (`#free + used`)