From owner-freebsd-questions Tue Dec 12 7:16:32 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 12 07:16:30 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from smtp.wedgev.com (cm57-70.liwest.at [212.33.57.70]) by hub.freebsd.org (Postfix) with ESMTP id 21A8037B400 for ; Tue, 12 Dec 2000 07:16:30 -0800 (PST) Received: from wedge by smtp.wedgev.com with local (Exim 3.16 #1 (FreeBSD)) id 145rA9-000B1k-00 for ; Tue, 12 Dec 2000 16:16:17 +0100 Date: Tue, 12 Dec 2000 16:16:16 +0100 From: Bernhard Valenti To: freebsd-questions@freebsd.org Subject: Xlib with XF4 doesnt support threads? Message-ID: <20001212161616.A16214@bilbo.home> Reply-To: Bernhard Valenti Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD i386 X-Copyright: (C) 2000 Bernhard Valenti. All rights reserved. X-Notice: Duplication, redistribution prohibited without consent of the author. Sender: Bernhard Valenti Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i just found out that my xlib (which i installed with XF4 from port) doesnt support threads. on my second box which has XF3.3.6 installed it works fine though. eg: #include #include #include int main(int argc, char *argv[]) { if(!XInitThreads()) printf("you do NOT have threads\n"); else printf("you do have threads\n"); } gives me "you do NOT have threads". i'm wondering why xlib gets built without threads support!? also, i tried to reinstall XF4 today, but as its still the same port version nothing changed, and i still have that problem. bernhard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message