[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request official mandate for -D_REENTRANT



On 23 Jan 1997, Rob Browning wrote:
> Well, when I brought this up earlier David Engel mentioned some tests
> that he ran: 
> 
> > I have some good news.  I tried a very simple-minded test case by
> > building Tcl 7.6 with glibc 1.99 and using Tcl's test cases as a
> > benchmark.  Compiling with -D_REENTRANT but not linking with -lpthread
> > only resulted in a ~1% slowdown.  This amount of slowdown is
> > satisfactory to me.
> 
> We have run some tests here on our own local software with similar
> results.
> 
> David also said that if you actually linked against -lpthread, the
> slowdown was much more substantial, but that would only apply for
> threaded apps, normal, unthreaded apps would be unaffected.

You beat me to it.  This is all true.  Someone should probably issue
"maintonly" bug reports for all libraries not already built with
-D_REENTRANT.

David
--
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: