Eric Pouech wrote:
Why is the special fault handler needed?
implementation of a GDI engine... basically, both the app and X11 are used to read and write into it (each DIB is associated to an X11 pixmap, and, for example, when the app writes to the DIB section, there's a need to update the pixmap. on the other way aroud, GDI operation on the DIB, are in fact done on the X11 pixmap. then modifications have to be updated into the bits of the DIB
the fault handler is used to synchronize both accesses
What is the best way to
approach getting rid of it?
write a GDI engine
And I have it in my tree :) It should be ready for submission in a few months from now.
/Johan Gill johane@lysator.liu.se