mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-27 13:30:31 +02:00
Whoops, fix refactor-induced locking problem
This commit is contained in:
parent
cf570d0206
commit
dcfdc547f6
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ gc_adaptive_heap_sizer_on_gc(struct gc_adaptive_heap_sizer *sizer,
|
|||
static void
|
||||
gc_adaptive_heap_sizer_background_task(void *data) {
|
||||
struct gc_adaptive_heap_sizer *sizer = data;
|
||||
pthread_mutex_lock(&sizer->lock);
|
||||
uint64_t bytes_allocated =
|
||||
sizer->get_allocation_counter(sizer->callback_data);
|
||||
uint64_t heartbeat = gc_platform_monotonic_nanoseconds();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue