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

Replace max thread/signal count with dynamic buckets #162

Open
f1nalspace opened this issue Nov 8, 2024 · 0 comments
Open

Replace max thread/signal count with dynamic buckets #162

f1nalspace opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
bug Bugs/Crashes, etc. threading Threads, mutexes, signals, etc.

Comments

@f1nalspace
Copy link
Owner

f1nalspace commented Nov 8, 2024

Currently FPL has a limit of N fplThreadHandle it can support.

As the CPU thread count increases, FPL must be up-to-date otherwise it will crash or not allow to create a thread.

To fix this, we have to remove the limit and introduce a bucket list that gets dynamically be allocated of 32 threads per bucket or so. Otherwise we will get in trouble when the CPU core counts increases.

The signals suffer from the same issue, so please fix it in there as well.

@f1nalspace f1nalspace added bug Bugs/Crashes, etc. threading Threads, mutexes, signals, etc. labels Nov 8, 2024
@f1nalspace f1nalspace self-assigned this Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs/Crashes, etc. threading Threads, mutexes, signals, etc.
Projects
None yet
Development

No branches or pull requests

1 participant