|
|
注意通过OSD,而不是直接使用pthread.h
[ATTACHED IMAGE]
Edited by LuoXiaoDi (03/29/14 08:18 AM)
|
|
|
|
Re: MAME如何启用 810;个线程?
[Re: LuoXiaoDi]
#324004 - 04/01/14 09:51 AM
|
|
|
請說英語。這裡沒有人會說國語。也許對你很難, 但我們可以理解壞英語.
Please only speak English on this forum. Nobody here knows Chinese. It may be difficult for you, but we can understand bad English better than good Chinese.
Translation of Luo's post (courtesy of a Chinese friend):
"How do I use/enable 810 in MAME thread?" Notice/warning come through OSD, instead of using pthhread.h"
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9716
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: MAME如何启用 810;个线程?
[Re: MooglyGuy]
#324021 - 04/01/14 05:10 PM
|
|
|
> "How do I use/enable 810 in MAME thread?" > Notice/warning come through OSD, instead of using pthhread.h"
810 what? Like Intel 810 integrated graphics?
|
|
|
|
Re: MAME如何启用
[Re: R. Belmont]
#324026 - 04/01/14 06:19 PM
|
|
|
> > "How do I use/enable 810 in MAME thread?" > > Notice/warning come through OSD, instead of using pthhread.h" > > 810 what? Like Intel 810 integrated graphics?
from the pthread mention, I would have guessed it has something to do with using pcap comms at driver level... not sure if there are legit applications for such a thing (nor if it is actually possible in the emulator)
I don't know how to fit this guess with the post subject, though...
|
|
|
|
Re: MAME如何启用
[Re: etabeta]
#324261 - 04/08/14 03:38 AM
|
|
|
810 is Chinese Code "多" auto change to the number.
In English Code "多" same as "mutil".
Edited by lxd (04/08/14 03:41 AM)
|
|
|
|
Re: MAME如何启用
[Re: lxd]
#324283 - 04/08/14 11:45 AM
|
|
|
> 810 is Chinese Code "多" auto change to the number. > > In English Code "多" same as "mutil".
Oh, so you want to know how to use multi-threading using the MAME primitives, rather than calling pthread APIs directly? Maybe you could look at something like Aaron's triangle rasteriser code that uses the scalable locks and work queues. There's also multi-threding in chdman. Someone who's been more active in MAME development lately might be more helpful.
|
|
|
|
Re: MAME如何启用
[Re: Vas Crabb]
#324571 - 04/12/14 08:02 AM
|
|
|
I can use multi-threading in the MAME game driver.
But It dose net work well with OSD.
If I use "pthread_create(&m_thread, NULL, i_recv, NULL);" it can be made with "make".
BUT can not be made with "make MSVC_BUILD=1 DEBUG=1 SYMBOLS=1"
Edited by lxd (04/12/14 08:03 AM)
|
|
|
|
Re: MAME如何启用
[Re: lxd]
#324577 - 04/12/14 01:23 PM
|
|
|
Create: osd_thread *m_thread = osd_thread_create(i_recv, NULL);
Join: osd_thread_wait_free(m_thread);
|
|
|
|
Re: MAME如何启用
[Re: Vas Crabb]
#324588 - 04/12/14 06:10 PM
|
|
|
|