pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/concurrencykit ck: update to 0.6.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/427f2ffb3b22
branches:  trunk
changeset: 382338:427f2ffb3b22
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 25 19:47:45 2022 +0000

description:
ck: update to 0.6.0.

XXX: PKGNAME != directory name

Concurrency Kit 0.6.0 has been released. This release contains a
critical bug fix to ck_epoch idle early exit (all users of ck_epoch
are recommended to upgrade), support for AArch64 (including LSE),
cygwin support, improved GCC back-end support and more.

aarch64: Thanks to Olivier Houchard for adding intial support for
AArch64. Thanks to Alexey Kopytov akopytov@gmail... for adding
support for LSE, enabled by passing --enable-lse to configure.

ck_epoch: The core algorithm (including lock-free improvements) is
not affected by this change. An optimization was introduced a while
ago to allow synchronize to succeed on an idle system. Unfortunately,
this optimization was incorrect. The fix is highly targeted. ck_epoch
will only short-circuit if all threads are seen as idle for a given
epoch. This could be improved further to track idle threads across
epochs but would require more substantive validation. Essentially,
we would want to eliminate threads observed as idle from the scan
step. We may revisit this in a future release if benchmarks identify
it as a worthy optimization for real-world systems. Thanks to Julie
Zhao julie.zhao@sparkpost... for reporting the problem and helping
me investigate (issue is not reproducible on our current fleet).

ck_pr/gcc: Olivier cleaned-up the GCC back-end so it doesn't generate
warnings re:constness. This port is meant to be used in cases where
a first-class ck_pr implementation is not available.

cygwin: Thanks to Harry Bowden hbowden@digitalriver... for adding
cygwin support.

documentation: Minor fixes / improvements to the documentation.

Thanks to all contributors of this release.

diffstat:

 devel/concurrencykit/Makefile |  4 ++--
 devel/concurrencykit/PLIST    |  6 +++++-
 devel/concurrencykit/distinfo |  8 ++++----
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs (45 lines):

diff -r 8c608bd331fb -r 427f2ffb3b22 devel/concurrencykit/Makefile
--- a/devel/concurrencykit/Makefile     Mon Jul 25 19:45:44 2022 +0000
+++ b/devel/concurrencykit/Makefile     Mon Jul 25 19:47:45 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2022/07/25 11:12:21 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/07/25 19:47:45 wiz Exp $
 
-DISTNAME=      ck-0.5.1
+DISTNAME=      ck-0.6.0
 CATEGORIES=    devel
 MASTER_SITES=  http://concurrencykit.org/releases/
 
diff -r 8c608bd331fb -r 427f2ffb3b22 devel/concurrencykit/PLIST
--- a/devel/concurrencykit/PLIST        Mon Jul 25 19:45:44 2022 +0000
+++ b/devel/concurrencykit/PLIST        Mon Jul 25 19:47:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2016/08/10 23:44:10 mef Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/07/25 19:47:45 wiz Exp $
 include/ck_array.h
 include/ck_backoff.h
 include/ck_barrier.h
@@ -35,6 +35,10 @@
 include/ck_string.h
 include/ck_swlock.h
 include/ck_tflock.h
+include/gcc/aarch64/ck_f_pr.h
+include/gcc/aarch64/ck_pr.h
+include/gcc/aarch64/ck_pr_llsc.h
+include/gcc/aarch64/ck_pr_lse.h
 include/gcc/arm/ck_f_pr.h
 include/gcc/arm/ck_pr.h
 include/gcc/ck_cc.h
diff -r 8c608bd331fb -r 427f2ffb3b22 devel/concurrencykit/distinfo
--- a/devel/concurrencykit/distinfo     Mon Jul 25 19:45:44 2022 +0000
+++ b/devel/concurrencykit/distinfo     Mon Jul 25 19:47:45 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2021/10/26 10:14:27 nia Exp $
+$NetBSD: distinfo,v 1.7 2022/07/25 19:47:45 wiz Exp $
 
-BLAKE2s (ck-0.5.1.tar.gz) = 27ff9e7c564c18b0162d452ba50ebec33f525faf560dc0ea0de64d32cf66374e
-SHA512 (ck-0.5.1.tar.gz) = a48d7986ff60fd80ee2a08d85e6bfff441831c3c780373fd694fafc9eb588e1efc81a8a4c035ff22e635afdec131819d5dbc24df31cbca90b9f655c93892ef3d
-Size (ck-0.5.1.tar.gz) = 212506 bytes
+BLAKE2s (ck-0.6.0.tar.gz) = cc3598e1a758e11c1385dad12547e1051c02bc4981f09eb33a88b1d23c990fda
+SHA512 (ck-0.6.0.tar.gz) = 4c75f1194a6ad9d3e51a4bad4802cc522df70870135e6e2db1e303d0df89d57e5dc7a73e924de49fe9641b3dcdc81b1a74a26aa7297cd06b7acb5cbf46c402f0
+Size (ck-0.6.0.tar.gz) = 217198 bytes



Home | Main Index | Thread Index | Old Index