emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#54757: closed ([PATCH] gnu: Add librseq.)


From: GNU bug Tracking System
Subject: bug#54757: closed ([PATCH] gnu: Add librseq.)
Date: Tue, 12 Apr 2022 21:49:01 +0000

Your message dated Tue, 12 Apr 2022 23:48:35 +0200
with message-id <87r162as7g.fsf_-_@gnu.org>
and subject line Re: bug#54757: [PATCH] gnu: Add librseq.
has caused the debbugs.gnu.org bug report #54757,
regarding [PATCH] gnu: Add librseq.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54757: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=54757
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: Add librseq. Date: Wed, 6 Apr 2022 19:30:07 -0400
* gnu/packages/engineering.scm (librseq): New variable.
---
 gnu/packages/engineering.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index cb721ddd2e..9b0a917f8e 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -1148,6 +1148,31 @@ (define-public kicad-templates
     (description "This package contains the official KiCad project and
 worksheet templates.")))
 
+(define-public librseq
+  (let ((commit "170f840b498e1aff068b90188727a656111bfc2f")
+        (hash "0rdx59y8y9x8cfmmx5gl66gibkzpk3kw5lrrqhrxan8zr37a055y"))
+    (package
+      (name "librseq")
+      (version "0.0.0")
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/compudj/librseq.git";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256 (base32 hash))))
+      (build-system gnu-build-system)
+      (native-inputs (list autoconf automake libtool))
+      (propagated-inputs (list linux-libre-headers))
+      (home-page "https://github.com/compudj/librseq";)
+      (synopsis "Userspace library for restartable sequences")
+      (description "A restartable sequence is a critical region delimited by a
+program where if the execution its preempted or interrupted, the kernel will
+divert the program control flow to a custom handler.  They are a good
+alternative to atomic operations for critical fast paths and are usually used
+in the context of per-cpu data.")
+      (license (list license:lgpl2.1 license:expat)))))
+
 (define-public linsmith
   (package
     (name "linsmith")
-- 
2.34.0




--- End Message ---
--- Begin Message --- Subject: Re: bug#54757: [PATCH] gnu: Add librseq. Date: Tue, 12 Apr 2022 23:48:35 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Salut Olivier,

Olivier Dion <olivier.dion@polymtl.ca> skribis:

> * gnu/packages/engineering.scm (librseq): New variable.

Applied, thanks!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]