Bug 108491 - New port: devel/libpthread-stubs: This library provides weak aliases for pthread functions
Summary: New port: devel/libpthread-stubs: This library provides weak aliases for pthr...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-28 20:40 UTC by Ashish Shukla
Modified: 2007-02-01 03:49 UTC (History)
0 users

See Also:


Attachments
file.shar (3.25 KB, text/plain)
2007-01-28 20:40 UTC, Ashish Shukla
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.