We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb7e56 commit 7d5c828Copy full SHA for 7d5c828
src/libAtomVM/context.h
@@ -119,8 +119,6 @@ struct Context
119
// Ports support
120
native_handler_f native_handler;
121
122
- uint64_t reductions;
123
-
124
unsigned int leader : 1;
125
unsigned int has_min_heap_size : 1;
126
unsigned int has_max_heap_size : 1;
src/libAtomVM/scheduler.c
@@ -281,8 +281,6 @@ Context *scheduler_run(GlobalContext *global)
281
282
Context *scheduler_next(GlobalContext *global, Context *c)
283
{
284
- c->reductions += DEFAULT_REDUCTIONS_AMOUNT;
285
286
// Remove c from running and append it at the end of ready list
287
// c could already be in ready queue, if it received a message.
288
SMP_SPINLOCK_LOCK(&global->processes_spinlock);
0 commit comments