Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: markronz on June 08, 2009, 07:00:22 pm

Title: Will mame ever be multithreaded?
Post by: markronz on June 08, 2009, 07:00:22 pm
Does anyone know if there are plans to ever make mame truly multithreaded.   It works great as is already, and I am already appreciative for what mame is now, but I was just wondering if anyone knows if that's at all on the horizon for mame?    I know there is the multithreading option now, but it doesn't do a ton really, and it's not using both or all processors as well as a true multithreaded app would...

Anyone have any idea?   :dunno
Title: Re: Will mame ever be multithreaded?
Post by: youki on June 09, 2009, 03:15:11 am
Multithreading would usefull only if the game emulated is multithreaded too , and if it is managed correctly.

So surely some modern 3d game are, but most of the other are not. So you won't see any difference , except may be a slow down in these cases.



Title: Re: Will mame ever be multithreaded?
Post by: u_rebelscum on June 09, 2009, 03:22:52 pm
Mame is multiple right now.  However, you don't see super speed jumps on most games ATM because one or more of the following, depending on the exact game, of course:

Title: Re: Will mame ever be multithreaded?
Post by: Lilwolf on June 11, 2009, 05:57:49 pm
btw, the reason they haven't multithreaded just everything (and they could, pretty easy) is that they synchronizing the cores would actually slow everything down.

processor emulation is very low level... and timing is critical.  Threading works best when you can send a chunk of stuff to do to another core...

But you have to sync the cores to pass data between them... memory ect.  And that is down right slow.

Title: Re: Will mame ever be multithreaded?
Post by: markronz on June 11, 2009, 06:01:48 pm
Alright that answers that question!

Thanks everyone for your responses!
Title: Re: Will mame ever be multithreaded?
Post by: Ummon on June 14, 2009, 07:58:18 pm
This was all discussed at length a year or two ago at MW.