Tiago Vignatti wrote:
> The current SIGIO signal handler method, used at generation of input events,
> has a bunch of oddities. This patch introduces an alternative way using a
> thread, which is used to select()s all input device file descriptors.

Don't you have to make sure you use the right CFLAGS & LDFLAGS for pthreads?
Something like the XTHREADLIB & XTHREAD_CFLAGS settings in libX11/configure.ac.

You may be getting them by accident now, via this bit of the xserver 
configure.ac:
if test "x$GLX_USE_TLS" = xyes -a "x$AIGLX" = xyes; then
        GLX_DEFINES="-DGLX_USE_TLS -DPTHREADS"
        GLX_SYS_LIBS="$GLX_SYS_LIBS -lpthread"
fi

But that doesn't match the flags used by libX11 on several platforms
(-lpthread vs. -pthread on some BSD's, missing -D flags for posix threads
on NetBSD, FreeBSD, & Solaris - though using those may reduce performance
on those platforms as all calls get redirected to thread-safe versions).

-- 
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to