--- Neal H Walfield <[EMAIL PROTECTED]> wrote:
> Stubs are provided for libthreads.  The stubs (which are linked in
> if
> an explicit request to link against libthreads is not added) should
> be
> used for single threaded applications using multithreaded libraries
> (such as libtrivfs).  Multithreaded applications cannot safely use
> the
> stubs; they obviously need real locking.
> 
> libports is different.  There are no useful stubs that we can
> provide.
> I.e. there is nothing worth optimizing which contrasts the previous
> case.  Again, a single threaded application indirectly using
> libthreads can safely elide locking by faking it, etc.
> 
> You do not need to add `-lports' to the link line as a DT_NEEDED
> dependency (look at `obj-dump -p /lib/libtrivfs.so') is declared
> when
> the libtrivfs share object file is created.
> 

 Thanks, this makes sense.


=====
James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op
http://hurd.dyndns.org

Anyone refering this as 'Open Source' shall be eaten by a GNU

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

_______________________________________________
Help-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-hurd

Reply via email to