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

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 30 Dec 2007 13:51:47 +0100 CET

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.


Other related posts: