-
-
Notifications
You must be signed in to change notification settings - Fork 188
[WIP] -netthread fixes and implementation for linux
#569
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
base: master
Are you sure you want to change the base?
Conversation
1f35cf0 to
48be56d
Compare
|
After several tests was confirmed that -netthread is not stable for now. Ping can increase 100+ at random time. |
|
It was tested by several people at least nothing bad was reported for the time going. |
4fce6a1 to
4c97eac
Compare
|
please confirm is it ready and tested? |
|
@theAsmodai Yes, it it ready and was tested by serveral people. |
| { | ||
| #ifdef REHLDS_FIXES // Safe thread stopping. | ||
| NET_ThreadLock(); | ||
| net_thread_terminated = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You don't need lock here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@theAsmodai what's the reason? x86?
|
You can think about this as poor man's |
|
I don't understand you. |
|
@theAsmodai Don't merge this for now. It seems that we need to place memory barriers. https://stackoverflow.com/questions/286629/what-is-a-memory-fence |
|
Here it's not necessary. |
-netthread fixes and implementation for linux
43df0ba to
de3679f
Compare
No description provided.