Am 30.12.2007 um 13:51 schrieb Axel Dörfler:
Michael Pfeiffer <michael.w.pfeiffer@xxxxxxxxx> wrote:The VMWare graphics driver reads and writes ports in device.c. I am wondering if there is any synchronization code needed?I am not sure if I understand you correctly, but writing and reading to ports without locking should be fine unless you're programming a serialbus from more than one thread, or if you have to update the same two registers one after the other from different threads.
I don't know if the latter can occur. AFAIK the VMWare graphics device is used by the VMWare graphics accelerator only. So my question then is, are accelerator calls automatically synchronized by the app_server, or has the accelerator care about synchronization? - Michael