Skip to content
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

Remove unused thread variables #67

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@shintaro-iwasaki
Copy link
Contributor

commented Sep 14, 2018

This PR removes unused variables when ABT_CONFIG_DISABLE_MIGRATION is enabled, which removes a few initialization operations in ABT_thread_create and its friends.

PR #65 is prerequisite.

@shintaro-iwasaki

This comment has been minimized.

Copy link
Contributor Author

commented Sep 14, 2018

test:jenkins

thread: remove redundant variables.
When the thread migration feature is disabled, p_req_arg and lock in ABTI_thread
are never used. However, previously they are part of ABTI_thread and initialized
in ABT_thread_create even if ABT_CONFIG_DISABLE_MIGRATION is enabled. This
commit removes these two redundant variables when ABT_CONFIG_DISABLE_MIGRATION
is enabled.,

@shintaro-iwasaki shintaro-iwasaki force-pushed the shintaro-iwasaki:RemoveUnusedThreadVars branch from 1e791cc to 6fd4e2b Oct 15, 2018

@shintaro-iwasaki

This comment has been minimized.

Copy link
Contributor Author

commented Oct 15, 2018

test:jenkins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.