Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Beginnings of the thread run loop #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 13, 2012

Conversation

maxdjohnson
Copy link
Collaborator

Added gc_mark_parallel, which sets up and runs the threads, and mark_run_loop, which contains the logic for the threads.


void gc_mark_parallel(rb_objspace_t* objspace) {
active_objspace = objspace;
global_queue = malloc(sizeof(global_queue_t));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason this can't be on the stack?

kevints added a commit that referenced this pull request Nov 13, 2012
Beginnings of the thread run loop
@kevints kevints merged commit 67857fa into kevints:cs194_master Nov 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants