Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
std::thread benefit
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;

Sponsored links

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 )

Users browsing this thread: 3 Guest(s)