guix-devel/guix
Ludovic Courtès 232b3d3101
workers: 'pool-idle?' returns true only if the workers are idle.
Fixes <https://bugs.gnu.org/28779>.
Reported by Eric Bavier <bavier@cray.com>.

* guix/workers.scm (<pool>)[busy]: New field.
(worker-thunk): Add #:idle and #:busy and use them.
(make-pool): Pass #:busy and #:idle to 'worker-thunk'.  Pass a 'busy'
value to '%make-pool'.
* guix/workers.scm (pool-idle?): Check whether 'pool-busy' returns zero
and adjust docstring.
2017-11-17 10:10:30 +01:00
..
build download: Improve efficiency of 'write-request' over TLS. 2017-11-16 08:45:14 +01:00
build-system guix: Add archive support for bioconductor-uri. 2017-11-07 08:14:09 +01:00
import guix: Add archive support for bioconductor-uri. 2017-11-07 08:14:09 +01:00
scripts refresh: Account for hidden packages. 2017-11-07 00:12:10 +01:00
store
tests tests: Support multiple HTTP server instances. 2017-10-12 23:47:48 +02:00
base16.scm
base32.scm base32: Export the base32 charsets. 2017-07-21 17:03:24 +02:00
base64.scm base64: Turn into a regular Guile module. 2017-05-25 14:25:17 +02:00
build-system.scm
cache.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
cvs-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
derivations.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
discovery.scm discovery: Move 'file-name->module-name' to (guix modules). 2017-10-22 22:09:00 -07:00
docker.scm
download.scm download: Use HTTPS for the first ImageMagick mirror. 2017-11-12 17:50:01 -05:00
elf.scm
ftp-client.scm download: Pass the timeout to 'ftp-retr'. 2017-11-14 23:46:53 +01:00
gcrypt.scm
gexp.scm gexp: Add 'directory-union'. 2017-10-22 22:09:00 -07:00
git-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
git.scm git: Check whether 'clone-init-options' is defined. 2017-11-11 20:09:25 +01:00
gnu-maintenance.scm upstream: Add new GNOME updater. 2017-09-26 00:35:06 +02:00
gnupg.scm
grafts.scm derivations: Introduce 'read-derivation-from-file'. 2017-06-12 17:53:51 +02:00
graph.scm Revert "graph: Provide access to the package record in the emit functions." 2017-08-24 23:55:51 +02:00
hash.scm
hg-download.scm download: Download a nar when a VCS checkout fails. 2017-10-19 23:21:49 +02:00
http-client.scm cve: Use 'http-fetch/cached' instead of having custom caching. 2017-11-16 08:45:15 +01:00
i18n.scm ui: Introduce (guix i18n). 2017-11-08 22:31:58 +01:00
licenses.scm licenses: Add CC-Sampling+ 1.0. 2017-09-22 08:04:32 -04:00
memoization.scm memoization: (mlambda () ...) allows for inner 'define'. 2017-09-03 23:36:17 +02:00
modules.scm discovery: Move 'file-name->module-name' to (guix modules). 2017-10-22 22:09:00 -07:00
monad-repl.scm
monads.scm
nar.scm
packages.scm packages: Use Guile 2.0 for grafting. 2017-08-24 00:41:44 +02:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Only check file contents if the file exists. 2017-08-09 14:46:48 +02:00
progress.scm Add (guix progress). 2017-10-19 23:21:49 +02:00
records.scm guix: records: Add match-record. 2017-11-05 15:21:53 +01:00
scripts.scm scripts: Factorize option parsing sans 'GUIX_BUILD_OPTIONS'. 2017-10-28 09:45:53 +02:00
search-paths.scm
serialization.scm
sets.scm
ssh.scm ssh: Improve error reporting when 'send-files' fails. 2017-06-04 23:00:32 +02:00
store.scm store: Add missing import. 2017-10-07 17:08:32 +02:00
svn-download.scm guix: Add download-svn-to-store. 2017-06-15 17:03:14 +02:00
tests.scm
ui.scm ui: Add source file name to the package search metrics. 2017-11-16 08:45:15 +01:00
upstream.scm guix: lint: Add checker for new upstream versions. 2017-10-09 14:05:17 +03:00
utils.scm ui: Define and honor '&error-location' and '&fix-hint' conditions. 2017-11-08 22:31:58 +01:00
workers.scm workers: 'pool-idle?' returns true only if the workers are idle. 2017-11-17 10:10:30 +01:00
zlib.scm zlib: Fix memory leak due to revealed ports not being GC'd. 2017-10-11 15:20:50 +02:00