From owner-freebsd-hackers Thu Apr 8 10:57:48 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from ns.tar.com (ns.tar.com [204.95.187.2]) by hub.freebsd.org (Postfix) with ESMTP id E8FFF15B08 for ; Thu, 8 Apr 1999 10:57:44 -0700 (PDT) (envelope-from dick@ns.tar.com) Received: (from dick@localhost) by ns.tar.com (8.9.3/8.9.3) id MAA26121; Thu, 8 Apr 1999 12:55:41 -0500 (CDT) (envelope-from dick) Date: Thu, 8 Apr 1999 12:55:41 -0500 From: "Richard Seaman, Jr." To: Daniel Eischen Cc: hackers@freebsd.org Subject: Re: Linuxthreads "port" status and a request Message-ID: <19990408125541.H440@tar.com> References: <199904081734.NAA24731@pcnet1.pcnet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199904081734.NAA24731@pcnet1.pcnet.com>; from Daniel Eischen on Thu, Apr 08, 1999 at 01:34:01PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 08, 1999 at 01:34:01PM -0400, Daniel Eischen wrote: > So any application that wants to use Linuxthreads must ensure that > /include is first in the include path so that pthread.h and > pthread_np.h are found there instead of /usr/include? This seems > to make sense to me. Almost. Its got to be /include/something_unique rather than just /include, but other than that, yes. The reason it has to be unique is that lots of ports already do -I/usr/local/include, and for those that are threaded and want FreeBSD user threads, they'ed get the wrong headers if the linux pthread.h was in /usr/local/include. > > I haven't looked at Linuxthreads, but is it possible for our pthread.h > and pthread_np.h to be compatible (assuming we add missing capabilities)? I think the differences are very extensive, so apart from one big #ifdef clause that totally bifurcates pthread.h, I'd say no. -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 414-367-5450 Chenequa WI 53058 fax: 414-367-5852 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message