Skip to content
Snippets Groups Projects
  1. Jun 25, 2021
  2. Jun 24, 2021
    • Robert Hensing's avatar
      boehmgc: Crude support for coroutines · 57409244
      Robert Hensing authored
      Fixes the problem where a stack pointer outside the original
      thread causes the collector to crash.
      
      It could be made more accurate by recording the stack pointer
      every time we switch to a coroutine. We can use this information
      to update our own coroutine stacks like normal data. When the
      stack pointer is on a thread, we can add a field to GC_thread
      "fallback_sp" to be used when the thread sp is outside the original
      thread range.
      57409244
Loading