diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-03-28 15:17:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-07 00:08:56 +0200 |
commit | 28b3763e33cd71fe281cd71a568c54fea7f4cf4f (patch) | |
tree | 42b334f239208ca18420cff5320ecdbeeaa311de /gnu/packages/haskell-web.scm | |
parent | 83121aa85a0237f81c9a3c1dd36f1206c1cae854 (diff) |
secret-service: Allow cooperative scheduling when Fibers is used.
This lets the 'childhurd' service start in the background, letting
shepherd perform other tasks in the meantime, including serving
clients (such as the 'herd' command).
* gnu/build/secret-service.scm (with-modules): New macro.
(wait-for-readable-fd): Add cooperative implementation when Fibers is in
use.
(secret-service-send-secrets): Define 'sleep' so that it cooperates when
Fibers is in use.
Diffstat (limited to 'gnu/packages/haskell-web.scm')
0 files changed, 0 insertions, 0 deletions