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

Sponsored links

#2
If you browse through the dev blogs (Jake Stine's) a bit, you might find a couple words on the threading Smile
Reply
#3
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.
Reply
#4
Gsdx will love it. It would make core more cross platform between windows/linux (and it might fix a threading bug on linux Tongue2 )
Reply




Users browsing this thread: 1 Guest(s)