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

[Linux DS 64] file.AsyncRead isn't Async #6031

Open
RaphaelIT7 opened this issue Oct 15, 2024 · 1 comment
Open

[Linux DS 64] file.AsyncRead isn't Async #6031

RaphaelIT7 opened this issue Oct 15, 2024 · 1 comment
Milestone

Comments

@RaphaelIT7
Copy link

Details

On Linux 64x file.AsyncRead doesn't seem to be Async.

My guess is that the filesystem's threadpool isn't started properly / same issue as #5310 but I didn't verify this yet.
https://github.com/perilouswithadollarsign/cstrike15_src/blob/master/filesystem/filesystem_async.cpp#L639

Steps to reproduce

  1. Start a Linux DS Server
  2. Run lua_run local a=SysTime() for k=1, 50 do file.AsyncRead("steamclient.so", "BASE_PATH", function() end) end print(SysTime()-a)
  3. Watch it freeze the main thread
@robotboy655 robotboy655 added this to the x64 milestone Oct 15, 2024
@RaphaelIT7
Copy link
Author

Just verified it and it really seems like bEnableOnLinuxDedicatedServer is missing for the threadpool.

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

2 participants