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

problem of threads? #29

Open
superdolt opened this issue Sep 19, 2021 · 0 comments
Open

problem of threads? #29

superdolt opened this issue Sep 19, 2021 · 0 comments

Comments

@superdolt
Copy link

10,000,000 mil channel possible? coz may hit linux thread creation limit?

chan_t* chan = chan_init(10000000);
  1. i've checked the c code, uses pthreads. am i wrong? this will create 10mil threads (which uses around 1mb per thread?)
  2. how much "overhead of ram" per channel?
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

No branches or pull requests

1 participant