From 0445f2a3590f67441602a05fe3924ab677c79ff0 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 14 Jun 2017 04:09:00 +0000 Subject: Add ftrigr_checksa(), rewrite s6_svlisten_loop() around it - Fixes the race condition hit by permanent failure, i.e. two ftrig events close to each other - Requires storing the sequence of events client-side, so an additional stralloc, bleh - The visible struct ftrigr_s changes, so a major bump is needed -> prepare for 2.6.0.0 - ftrigr_check() is now a trivial wrapper around ftrigr_checksa() --- doc/index.html | 4 ++-- doc/libs6/ftrigr.html | 21 +++++++++++++++++++++ doc/upgrade.html | 6 ++++++ 3 files changed, 29 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/index.html b/doc/index.html index 4030733..636d015 100644 --- a/doc/index.html +++ b/doc/index.html @@ -83,7 +83,7 @@ with s6
  • A POSIX-compliant system with a standard C development environment
  • GNU make, version 3.81 or later
  • skalibs version -2.5.1.0 or later. It's a build-time requirement. It's also a run-time +2.5.1.1 or later. It's a build-time requirement. It's also a run-time requirement if you link against the shared version of the skalibs library.
  • execline version @@ -100,7 +100,7 @@ library.
  • Download

    +
    +int ftrigr_checksa (ftrigr_t *a, uint16_t id, stralloc *what)
    +
    + +

    + Checks whether an event happened to id. Use after a +call to ftrigr_update(), as an alternative to ftrigr_check(). +

    + + + diff --git a/doc/upgrade.html b/doc/upgrade.html index b9b8461..df5cb3b 100644 --- a/doc/upgrade.html +++ b/doc/upgrade.html @@ -18,6 +18,12 @@

    What has changed in s6

    +

    in 2.6.0.0

    + + +

    in 2.5.1.0