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

Ralloc takes total thread number to construct #12

Open
qtcwt opened this issue Nov 26, 2020 · 1 comment
Open

Ralloc takes total thread number to construct #12

qtcwt opened this issue Nov 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@qtcwt
Copy link
Member

qtcwt commented Nov 26, 2020

Currently, Ralloc's constructor takes the number of total threads. To run with a dedicated thread, EpochSys calls Ralloc's constructor with the real number of total threads plus 1.

If there can be more than total number plus 1 threads allocating and deallocating from the Ralloc heap using different tid, we may pass in a greater number. The ideal case is that in the future we can avoid such parameter.

@qtcwt qtcwt added the enhancement New feature or request label Nov 26, 2020
@qtcwt
Copy link
Member Author

qtcwt commented Nov 26, 2020

Related to PR #9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant