mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 00:37:35 +02:00
Expose TODO for cleaning up old threads
This commit is contained in:
parent
8c6c27b3d6
commit
8b530989ee
1 changed files with 5 additions and 5 deletions
10
gc.c
10
gc.c
|
@ -1684,11 +1684,11 @@ void gc_thread_data_free(gc_thread_data * thd)
|
|||
{
|
||||
if (thd) {
|
||||
//
|
||||
// !!
|
||||
// TODO: (not necessarily here, but somewhere need to roll heap pages into
|
||||
// another thread data. need to include cached heap sizes/total, too.
|
||||
// then free cached heap vars here.
|
||||
// !!
|
||||
!!
|
||||
TODO: (not necessarily here, but somewhere need to roll heap pages into
|
||||
another thread data. need to include cached heap sizes/total, too.
|
||||
then free cached heap vars here.
|
||||
!!
|
||||
//
|
||||
if (pthread_mutex_destroy(&thd->lock) != 0) {
|
||||
// TODO: can only destroy the lock if it is unlocked. need to make sure we
|
||||
|
|
Loading…
Add table
Reference in a new issue