diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2022-09-01 11:48:50 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2022-09-01 11:48:50 -0500 |
commit | f4d7208e235d129ad3b0fe25b518fa36d960ec4d (patch) | |
tree | c5f4eb4533a765b6eaec2d0ddd96cb2def57ca11 /shell.nix | |
parent | ddb82ffda993d237d62d59578f7808a9d98c77fe (diff) |
Update boehmgc-coroutine-sp-fallback.diff for darwin
The darwin_stop_world implementation is slightly different. sp goes to
altstack_lo instead of lo in this case. Assuming that is an
implementation detail.
But the fix is the same, when we detect alstack_lo outside of the
expected stack range, we reset it to hi - stack_limit.
Here stack_limit is calculated with pthread_get_stacksize_np since
that is the BSD equivalent to pthread_attr_getstacksize.
Diffstat (limited to 'shell.nix')
0 files changed, 0 insertions, 0 deletions