Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
liburcu is a userspace RCU (read-copy-update) library. This data
synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structure accesses to detect grace periods after which memory reclamation is possible.
- Loading branch information
pettai
committed
Sep 30, 2012
1 parent
e4b54d4
commit 2e4a3f2
Showing
5 changed files
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
liburcu is a userspace RCU (read-copy-update) library. This data | ||
synchronization library provides read-side access which scales linearly | ||
with the number of cores. It does so by allowing multiples copies of a | ||
given data structure to live at the same time, and by monitoring the | ||
data structure accesses to detect grace periods after which memory | ||
reclamation is possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# $NetBSD: Makefile,v 1.1 2012/09/30 22:06:17 pettai Exp $ | ||
# | ||
|
||
DISTNAME= userspace-rcu-0.7.3 | ||
CATEGORIES= devel | ||
MASTER_SITES= http://lttng.org/files/urcu/ | ||
EXTRACT_SUFX= .tar.bz2 | ||
|
||
MAINTAINER= pettai@NetBSD.org | ||
HOMEPAGE= http://lttng.org/urcu | ||
COMMENT= Userspace RCU (Read Copy Update) | ||
LICENSE= gnu-lgpl-v2.1 | ||
|
||
PKG_DESTDIR_SUPPORT= user-destdir | ||
|
||
GNU_CONFIGURE= yes | ||
USE_LIBTOOL= yes | ||
USE_TOOLS+= gmake pkg-config | ||
|
||
# liburcu requires TLS support, thus, | ||
# only NetBSD-6 or later is supported | ||
NOT_FOR_PLATFORM= NetBSD-[0-5]*-* | ||
|
||
PKGCONFIG_OVERRIDE+= liburcu-bp.pc.in | ||
PKGCONFIG_OVERRIDE+= liburcu-cds.pc.in | ||
PKGCONFIG_OVERRIDE+= liburcu-mb.pc.in | ||
PKGCONFIG_OVERRIDE+= liburcu-qsbr.pc.in | ||
PKGCONFIG_OVERRIDE+= liburcu-signal.pc.in | ||
PKGCONFIG_OVERRIDE+= liburcu.pc.in | ||
|
||
.include "../../mk/bsd.pkg.mk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
@comment $NetBSD: PLIST,v 1.1 2012/09/30 22:06:17 pettai Exp $ | ||
include/urcu-bp.h | ||
include/urcu-call-rcu.h | ||
include/urcu-defer.h | ||
include/urcu-flavor.h | ||
include/urcu-pointer.h | ||
include/urcu-qsbr.h | ||
include/urcu.h | ||
include/urcu/arch.h | ||
include/urcu/arch/generic.h | ||
include/urcu/cds.h | ||
include/urcu/compiler.h | ||
include/urcu/config.h | ||
include/urcu/futex.h | ||
include/urcu/hlist.h | ||
include/urcu/list.h | ||
include/urcu/map/urcu-bp.h | ||
include/urcu/map/urcu-qsbr.h | ||
include/urcu/map/urcu.h | ||
include/urcu/rcuhlist.h | ||
include/urcu/rculfhash.h | ||
include/urcu/rculfqueue.h | ||
include/urcu/rculfstack.h | ||
include/urcu/rculist.h | ||
include/urcu/ref.h | ||
include/urcu/static/rculfqueue.h | ||
include/urcu/static/rculfstack.h | ||
include/urcu/static/urcu-bp.h | ||
include/urcu/static/urcu-pointer.h | ||
include/urcu/static/urcu-qsbr.h | ||
include/urcu/static/urcu.h | ||
include/urcu/static/wfqueue.h | ||
include/urcu/static/wfstack.h | ||
include/urcu/system.h | ||
include/urcu/tls-compat.h | ||
include/urcu/uatomic.h | ||
include/urcu/uatomic/generic.h | ||
include/urcu/uatomic_arch.h | ||
include/urcu/urcu-futex.h | ||
include/urcu/urcu_ref.h | ||
include/urcu/wfqueue.h | ||
include/urcu/wfstack.h | ||
lib/liburcu-bp.la | ||
lib/liburcu-cds.la | ||
lib/liburcu-common.la | ||
lib/liburcu-mb.la | ||
lib/liburcu-qsbr.la | ||
lib/liburcu-signal.la | ||
lib/liburcu.la | ||
lib/pkgconfig/liburcu-bp.pc | ||
lib/pkgconfig/liburcu-cds.pc | ||
lib/pkgconfig/liburcu-mb.pc | ||
lib/pkgconfig/liburcu-qsbr.pc | ||
lib/pkgconfig/liburcu-signal.pc | ||
lib/pkgconfig/liburcu.pc | ||
share/doc/userspace-rcu/ChangeLog | ||
share/doc/userspace-rcu/README | ||
share/doc/userspace-rcu/cds-api.txt | ||
share/doc/userspace-rcu/rcu-api.txt | ||
share/doc/userspace-rcu/uatomic-api.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# $NetBSD: buildlink3.mk,v 1.1 2012/09/30 22:06:17 pettai Exp $ | ||
|
||
BUILDLINK_TREE+= userspace-rcu | ||
|
||
.if !defined(USERSPACE_RCU_BUILDLINK3_MK) | ||
USERSPACE_RCU_BUILDLINK3_MK:= | ||
|
||
BUILDLINK_API_DEPENDS.userspace-rcu+= userspace-rcu>=0.7.3 | ||
BUILDLINK_PKGSRCDIR.userspace-rcu?= ../../devel/userspace-rcu | ||
.endif # USERSPACE_RCU_BUILDLINK3_MK | ||
|
||
BUILDLINK_TREE+= -userspace-rcu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$NetBSD: distinfo,v 1.1 2012/09/30 22:06:17 pettai Exp $ | ||
|
||
SHA1 (userspace-rcu-0.7.3.tar.bz2) = 0585e06068f766c42602b32c20baf241258440ba | ||
RMD160 (userspace-rcu-0.7.3.tar.bz2) = 96efc29d11339334adda3b8917aa74d2878d03fb | ||
Size (userspace-rcu-0.7.3.tar.bz2) = 385350 bytes |