Macaulay2 Engine
Loading...
Searching...
No Matches
◆
~stash()
stash::~stash
(
)
Definition at line
35
of file
mem.cpp
.
36
{
37
acquireSpinLock(&
list_spinlock
);
38
while
(
slabs
!=
nullptr
)
39
{
40
slab *
p
=
slabs
;
41
slabs
=
slabs
->next;
42
GC_FREE(
p
);
// this dramatically improves our memory usage
43
// TODO: comment out all GC_FREE()s!?
44
// printf("removed %p\n", p);
45
}
46
}
stash::slabs
slab * slabs
Definition
mem.hpp:99
stash::list_spinlock
spinLock list_spinlock
Definition
mem.hpp:118
p
int p
Definition
godboltTest.cpp:36
References
list_spinlock
,
p
, and
slabs
.
stash
Generated on
for Macaulay2 Engine by
1.15.0