Skip to content

Commit

Permalink
Revert pool
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Vey committed Mar 17, 2017
1 parent aa0cae2 commit a1269d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libponyrt/mem/pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,8 @@ void ponyint_pool_free_size(size_t size, void* p)

void ponyint_pool_thread_cleanup()
{
if(false)
{
for(size_t index = 0; index < POOL_COUNT; index++)
{
pool_local_t* thread = &pool_local[index];
Expand Down Expand Up @@ -939,6 +941,7 @@ void ponyint_pool_thread_cleanup()

pool_block_header.total_size = 0;
pool_block_header.largest_size = 0;
}
}

size_t ponyint_pool_index(size_t size)
Expand Down

0 comments on commit a1269d8

Please sign in to comment.