mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-11 07:02:29 +00:00
Make bulk_free() go faster
This commit is contained in:
parent
624573207e
commit
c8e10eef30
13 changed files with 54 additions and 36 deletions
|
@ -35,8 +35,8 @@
|
|||
*/
|
||||
void *NewCosmoStack(void) {
|
||||
void *stackaddr;
|
||||
size_t stacksize = GetStackSize();
|
||||
size_t guardsize = GetGuardSize();
|
||||
unsigned stacksize = GetStackSize();
|
||||
unsigned guardsize = GetGuardSize();
|
||||
errno_t err = cosmo_stack_alloc(&stacksize, &guardsize, &stackaddr);
|
||||
if (!err)
|
||||
return stackaddr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue