Page MenuHomeWildfire Games

pthread -> std::thread (4/?) - Replace pthread in remaining files
Needs ReviewPublic

Authored by wraitii on May 26 2019, 6:07 PM.

Details

Reviewers
None
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

This removes pthread mutexes/threads from other core 0A.D. files. Remain the mongoose file and the x86_64 weird computation, as well as the message passing with atlas.

Test Plan

Compile, test.

Diff Detail

Event Timeline

wraitii created this revision.May 26 2019, 6:07 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/differential/1513/display/redirect

Stan added a subscriber: Stan.May 26 2019, 7:08 PM
Stan added inline comments.
source/network/NetServer.cpp
264

Why remove the early returns ?

350

could be renamed to worker ?

wraitii added inline comments.May 26 2019, 7:18 PM
source/network/NetServer.cpp
264

er, should have made this into return;, I went too quickly.

Stan added inline comments.May 26 2019, 7:20 PM
source/network/NetServer.cpp
350

Any reason by the way why it can't be a general worker ?