Fwd: Re: VGA emulation in BOCHS
Volker Ruppert <[email protected]>
| Newsgroups | gmane.comp.emulators.bochs.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! > I am now running BOCHS emulated CPUs in parallel ( i.e. on separate > host os threads). only the BX_CPU(0) is decrementing the > countDownEvent. However, i get an assertion in libx11.so shared > library when i run many CPUs ( i.e. 8 CPUs). i suspect it is due to > the fact that the libx11 is not thread safe and more than 1 CPUs are > working in the x.cc code. If only BX_CPU(0) is decrementing the > countDownEvent. can other thread also have access to anything in the > GUI ? What do you mean with "running CPUs in separate threads" ? With the official Bochs SVN code you can only do this: 1. one Bochs instance with all CPUs running in the same thread 2. multiple Bochs instances (works with X11) Yes, the Xlib is not thread safe and our code in x.cc has not yet been tested with the display update called from another thread. The SDL, wxWidgets and win32 gui implementations should already be able to work in this case. -- Thanks Volker ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct