..:: PCSX2 Forums ::..

Full Version: std::thread benefit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys
I am wondering if PCSX2 can benefit from std::thread. its standard and if comparing to pthread is more clean syntax then used since its c++ but c;
If you browse through the dev blogs (Jake Stine's) a bit, you might find a couple words on the threading Smile
all what I have found relates to traditional threading problem "syncronisation!".
and one more thing <<PCSX2 uses only two threads>> OK if so the only benefit would be getting rid of dependency which is not helping in projects progress.
but regarding synchronization STD:atomic is something new to c++ with which it's possible to get rid of mutexes.
Gsdx will love it. It would make core more cross platform between windows/linux (and it might fix a threading bug on linux Tongue2 )