Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2003 15:30:13 +0800
From:      "David Xu" <davidxu@freebsd.org>
To:        "Julian Elischer" <julian@elischer.org>, "Poul-Henning Kamp" <phk@phk.freebsd.dk>
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 ... 
Message-ID:  <004101c34cfe$6e667b40$f001a8c0@davidw2k>
References:  <Pine.BSF.4.21.0307180014480.9866-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----=20
From: "Julian Elischer" <julian@elischer.org>
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "David Xu" <davidxu@FreeBSD.org>; <obrien@FreeBSD.org>; =
<src-committers@FreeBSD.org>; <cvs-src@FreeBSD.org>; =
<cvs-all@FreeBSD.org>
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" <obrien@FreeBSD.org>
> > >To: "Julian Elischer" <julian@elischer.org>
> > >Cc: "David Xu" <davidxu@FreeBSD.org>; <src-committers@FreeBSD.org>; =
<cvs-src@FreeBSD.org>; <cvs-all@FreeBSD.org>
> > >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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004101c34cfe$6e667b40$f001a8c0>