Skip to content

Commit

Permalink
Fix 2 spelloes. MasterDuke++
Browse files Browse the repository at this point in the history
  • Loading branch information
niner committed Jul 21, 2021
1 parent af001c9 commit 3a3eb7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io/procops.c
Expand Up @@ -1252,7 +1252,7 @@ MVMint64 MVM_proc_fork(MVMThreadContext *tc) {
instance->event_loop_thread = NULL;

/* Do not mark thread blocked as the GC also tries to acquire
* mutex_threads and it's help only briefly by all holders anyway */
* mutex_threads and it's held only briefly by all holders anyway */
uv_mutex_lock(&instance->mutex_threads);

/* Check if we are single threaded and if true, fork() */
Expand Down
2 changes: 1 addition & 1 deletion src/spesh/stats.c
Expand Up @@ -671,7 +671,7 @@ void MVM_spesh_stats_cleanup(MVMThreadContext *tc, MVMObject *check_frames) {
}
else if (tc->instance->spesh_stats_version - ss->last_update > MVM_SPESH_STATS_MAX_AGE) {
/* Do not mark thread blocked as the GC also tries to acquire
* mutex_threads and it's help only briefly by all holders anyway */
* mutex_threads and it's held only briefly by all holders anyway */
uv_mutex_lock(&tc->instance->mutex_threads);

MVMThread *current = tc->instance->threads;
Expand Down

0 comments on commit 3a3eb7f

Please sign in to comment.