libX11: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 28 17:55:58 UTC 2022


 configure.ac  |    9 +++++++++
 src/globals.c |   16 +++++++---------
 2 files changed, 16 insertions(+), 9 deletions(-)

New commits:
commit afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
Author: Adam Jackson <ajax at redhat.com>
Date:   Tue Mar 22 18:24:29 2022 -0400

    global: call XInitThreads() from the library's constructor
    
    There is really no point in not being thread safe, I measured, all you
    can see happen is noop performance gets like twice as slow and you have
    thread safety bugs. And we're using xcb as the transport which means we
    should expect threads in our clients anyway. Just do it.
    
    This assumes your compiler understands __attribute__((constructor)). If
    this is not your compiler, you can disable this with the appropriate
    configure flag, but be aware you're asking for bugs.
    
    Signed-off-by: Adam Jackson <ajax at redhat.com>



More information about the xorg-commit mailing list