Purpose
Returns all memory that was used by thread_alloc to the system.
ok
The return value
ok
has prototype
bool ok
Its value will be true if all the memory can be freed.
This requires that for all
thread
indices, there is no memory
inuse
; i.e.,
0 == thread_alloc::inuse(thread)
Otherwise, the return value will be false.
Restrictions
This function cannot be called while in parallel mode.