Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nora Puchreiner
Nix
Commits
5c58d84a
Commit
5c58d84a
authored
3 years ago
by
Robert Hensing
Browse files
Options
Downloads
Patches
Plain Diff
boehmgc: Remove unused code from patch
parent
57409244
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
boehmgc-coroutine-sp-fallback.diff
+3
-5
3 additions, 5 deletions
boehmgc-coroutine-sp-fallback.diff
with
3 additions
and
5 deletions
boehmgc-coroutine-sp-fallback.diff
+
3
−
5
View file @
5c58d84a
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index 1cee6a0b..
8977b0dd
100644
index 1cee6a0b..
46c3acd9
100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -674,6 +674,8 @@
GC_INNER void GC_push_all_stacks(void)
...
...
@@ -11,7 +11,7 @@ index 1cee6a0b..8977b0dd 100644
if (!EXPECT(GC_thr_initialized, TRUE))
GC_thr_init();
@@ -723,6 +725,
30
@@
GC_INNER void GC_push_all_stacks(void)
@@ -723,6 +725,
28
@@
GC_INNER void GC_push_all_stacks(void)
hi = p->altstack + p->altstack_size;
/* FIXME: Need to scan the normal stack too, but how ? */
/* FIXME: Assume stack grows down */
...
...
@@ -35,9 +35,7 @@ index 1cee6a0b..8977b0dd 100644
+ lo = hi - stack_limit;
+ }
+ #else
+ if (lo < hi || lo >= hi + stack_limit) { // sp outside stack
+ lo = hi + stack_limit;
+ }
+ #error "STACK_GROWS_UP not supported in boost_coroutine2 (as of june 2021), so we don't support it in Nix."
+ #endif
}
GC_push_all_stack_sections(lo, hi, traced_stack_sect);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment