switchports / xash3d-switch

Check out https://github.com/fgsfdsfgs/xash3d-fwgs for an updated version
GNU General Public License v3.0
63 stars 11 forks source link

SDL2 preemptive multithreading #4

Closed Cpasjuste closed 5 years ago

Cpasjuste commented 5 years ago

Hi @Datamats, i just implemented preemptive multithreading in SDL2, would it be possible for you to test it to see if there is no issues with it (mainly audio) before pushing it to pacman packages?

Thanks.

libSDL2.zip

Myaats commented 5 years ago

I'll check it later when I remember, audio is one of the main causes of slowdowns due to everything being single threaded. So this is a welcome change!

Cpasjuste commented 5 years ago

Thanks :) (nothing urgent btw).

Myaats commented 5 years ago

Seems to behave fine for me and it's not breaking anything

Cpasjuste commented 5 years ago

Thanks for the testing @Datamats ! I'll do more testing on my side and will push the changes to devkit pacman packages if all goes well. Again, thanks for your time.

Myaats commented 5 years ago

I'll close this because since it seems like it has been merged into the dkp SDL2 port