[569] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

pthreads and X

daemon@ATHENA.MIT.EDU (Piet Obermeyer)
Tue Feb 18 18:54:50 1997

Date: Tue, 18 Feb 1997 17:44:42 -0500
From: Piet Obermeyer <pieto@atlanta.com>
To: pthreads@MIT.EDU

Hi

I encountred a strange problem with a "one line" X application when the 
pthreads library is linked to the executable.

   Display* disp=XOpenDisplay(":0.0");

returns null when pthreads is linked with the X Libraries.  I am using 
Linux 1.2.13 with gcc 2.7.2 on x86.  I assume the pthread library 
interferes when the app is attempting to communicate with the X server?

Any ideas?

Piet

home help back first fref pref prev next nref lref last post