From owner-cvs-src@FreeBSD.ORG Fri Jul 18 00:26:49 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F1E37B401; Fri, 18 Jul 2003 00:26:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E359843F93; Fri, 18 Jul 2003 00:26:48 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (davidxu@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with SMTP id h6I7QlUp054263; Fri, 18 Jul 2003 00:26:47 -0700 (PDT) (envelope-from davidxu@freebsd.org) Message-ID: <004101c34cfe$6e667b40$f001a8c0@davidw2k> From: "David Xu" To: "Julian Elischer" , "Poul-Henning Kamp" References: Date: Fri, 18 Jul 2003 15:30:13 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cc: cvs-src@freebsd.org cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: obrien@freebsd.org Subject: Re: cvs commit: src/lib/libpthread Makefile src/lib/libpthread/test sigsuspend_d.c src/lib/libpthread/thread thr_cancel.c thr_concurrency.c thr_create.c thr_find_thread.c thr_init.c thr_kern.c thr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 07:26:50 -0000 ----- Original Message -----=20 From: "Julian Elischer" To: "Poul-Henning Kamp" Cc: "David Xu" ; ; = ; ; = Sent: Friday, July 18, 2003 3:17 PM Subject: Re: cvs commit: src/lib/libpthread Makefile = src/lib/libpthread/test sigsuspend_d.c src/lib/libpthread/thread = thr_cancel.c thr_concurrency.c thr_create.c thr_find_thread.c thr_init.c = thr_kern.c thr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.c ...=20 >=20 >=20 > On Fri, 18 Jul 2003, Poul-Henning Kamp wrote: >=20 > > In message <007101c34cdb$5b2fbd70$f001a8c0@davidw2k>, "David Xu" = writes: > > > > > >----- Original Message -----=20 > > >From: "David O'Brien" > > >To: "Julian Elischer" > > >Cc: "David Xu" ; ; = ; > > >Sent: Friday, July 18, 2003 9:03 AM > > >Subject: Re: cvs commit: src/lib/libpthread Makefile = src/lib/libpthread/test sigsuspend_d.c src/lib/libpthread/thread = thr_cancel.c thr_concurrency.c thr_create.c thr_find_thread.c thr_init.c = thr_kern.c thr_nanosleep.c thr_private.h thr_sig.c thr_sigmask.c ... > > > > > > > > >> On Thu, Jul 17, 2003 at 04:15:19PM -0700, Julian Elischer wrote: > > >> > We'll probably make a libpthread-1:1.so and a = libpthread-m:n.so. > > >>=20 > > >> I like the names -- makes it very clear what is going on. > > > > > >It is better to not use ':' in name, AFAIK, > > >':' is a shell PATH separator, we'd avoid this. > >=20 > > Seconded, we have had problems with : in filenames before, mostly > > Makefile problems. >=20 > It wasn't a specific name but a "meta name" > The names Dan has been thinking of are libthread and libpthread > but I think there could be some name pair that is more expressive > of what is going on than that.. >=20 > alernatively one library that acts in two different ways.. >=20 Think about static library (we still support it), you still need to compile it twice. so having two libraries is a good idea. Dynamic changing threading mode at initial time only works for shared library. :-) David Xu