[haiku-development] Re: VMWare Graphics Driver Synchronization Needed?

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 serial 
bus from more than one thread, or if you have to update the same two 
registers one after the other from different threads.

Bye,
   Axel.


Other related posts: