Bug 108491

Summary: New port: devel/libpthread-stubs: This library provides weak aliases for pthread functions
Product: Ports & Packages Reporter: Ashish Shukla <wahjava>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Ashish Shukla 2007-01-28 20:40:16 UTC
This library provides weak aliases for pthread functions not provided in libc
or otherwise available by default.  Libraries like libxcb rely on pthread
stubs to use pthreads optionally, becoming thread-safe when linked to
libpthread, while avoiding any performance hit when running single-threaded.
libpthread-stubs supports this behavior even on platforms which do not supply
all the necessary pthread stubs.  On platforms which already supply all the
necessary pthread stubs, this package ships only the pkg-config file
pthread-stubs.pc, to allow libraries to unconditionally express a dependency
on pthread-stubs and still obtain correct behavior.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2007-01-28 22:02:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-01-29 09:20:43 UTC
miwi        2007-01-29 09:20:36 UTC

  FreeBSD ports repository

  Modified files:
    devel                Makefile 
  Added files:
    devel/libpthread-stubs Makefile distinfo pkg-descr pkg-plist 
    devel/libpthread-stubs/files patch-configure 
  Log:
  This library provides weak aliases for pthread functions not provided in libc
  or otherwise available by default.  Libraries like libxcb rely on pthread
  stubs to use pthreads optionally, becoming thread-safe when linked to
  libpthread, while avoiding any performance hit when running single-threaded.
  libpthread-stubs supports this behavior even on platforms which do not supply
  all the necessary pthread stubs.  On platforms which already supply all the
  necessary pthread stubs, this package ships only the pkg-config file
  pthread-stubs.pc, to allow libraries to unconditionally express a dependency
  on pthread-stubs and still obtain correct behavior.
  
  WWW: http://xcb.freedesktop.org/
  
  PR:             ports/108491
  Submitted by:   wahjava
  
  Revision  Changes    Path
  1.2618    +1 -0      ports/devel/Makefile
  1.1       +24 -0     ports/devel/libpthread-stubs/Makefile (new)
  1.1       +3 -0      ports/devel/libpthread-stubs/distinfo (new)
  1.1       +11 -0     ports/devel/libpthread-stubs/files/patch-configure (new)
  1.1       +11 -0     ports/devel/libpthread-stubs/pkg-descr (new)
  1.1       +5 -0      ports/devel/libpthread-stubs/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2007-02-01 03:49:17 UTC
State Changed
From-To: open->closed

Commmitted, thanks.