Skip to content

Instantly share code, notes, and snippets.

@MasterDuke17
Created April 17, 2017 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasterDuke17/1f8c127f7fcfdffaba17420d34ae63ee to your computer and use it in GitHub Desktop.
Save MasterDuke17/1f8c127f7fcfdffaba17420d34ae63ee to your computer and use it in GitHub Desktop.
271 /* The only way this can fail is if another thread just decided we're to
272 * participate in a GC run. */
273 if (MVM_load(&tc->gc_status) == MVMGCStatus_INTERRUPT)
274 MVM_gc_enter_from_interrupt(tc);
275 else
276 MVM_panic(MVM_exitcode_gcorch,
277 "Invalid GC status observed while blocking thread; aborting");
278 }
279 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment