Hi Roman, > Is it really necessary to lock on a global lock, wouldn't a > lock on the surface do the same job? I'm thinking when you have > animations on several surfaces in parallel (like in the Java2Demo), it > might be more efficient to have a finer grained lock. Or are there other > pitfalls attached here?
I am not really sure, but as far as I know the global lock also protects libX11 from concurrent access. - Clemens
