> Note that the X11DRV_CritSection is sometimes implicitly relied
> upon to protect things other than the X11 libraries.  For example
> the use of the large stack is protected only by this critical
> section ...

That's exactly what I was afraid of. Now, there are (mainly) two
places where we have the X11DRV_CritSection: (1) tsx11 (2) X11DRV.
For (1), things are simple -- we can simply drop the whole thing
under the right circumstances. (2) is the sticky part. However, I
am not that familiar with that code -- is it worth separating the
issues and using a separate CritSection for each independent
critical section?

--
Dimi.


Reply via email to