aboutsummaryrefslogtreecommitdiff
path: root/nix-rust
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2021-06-24 18:02:51 +0200
committerRobert Hensing <robert@roberthensing.nl>2021-06-24 18:17:03 +0200
commit57409244ec8f568ce6b4ecb1bde0e509942ac05f (patch)
tree33ef78c2d7e918c2387a8e013a91cfa5a25d4776 /nix-rust
parentbec83a6f953ab045e85d50b0cab9de176cd00bc0 (diff)
boehmgc: Crude support for coroutines
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.
Diffstat (limited to 'nix-rust')
0 files changed, 0 insertions, 0 deletions