<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/workers.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/'/>
<updated>2017-11-17T09:47:56Z</updated>
<entry>
<title>workers: Display backtrace in pre-unwind handler.</title>
<updated>2017-11-17T09:47:56Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-17T09:47:56Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=d5ce7bcfa2f4d9a1d3da669ade155cc7042f84ec'/>
<id>urn:sha1:d5ce7bcfa2f4d9a1d3da669ade155cc7042f84ec</id>
<content type='text'>
* guix/workers.scm (worker-thunk): Add (const #f) as the 'catch'
handler, and move previous handler as pre-unwind handler.  Protect
against 'make-stack' returning #f.
</content>
</entry>
<entry>
<title>workers: 'pool-idle?' returns true only if the workers are idle.</title>
<updated>2017-11-17T09:10:30Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-11-17T09:10:30Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=232b3d31016439b5600e47d845ffb7c9a4ee4723'/>
<id>urn:sha1:232b3d31016439b5600e47d845ffb7c9a4ee4723</id>
<content type='text'>
Fixes &lt;https://bugs.gnu.org/28779&gt;.
Reported by Eric Bavier &lt;bavier@cray.com&gt;.

* guix/workers.scm (&lt;pool&gt;)[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.
</content>
</entry>
<entry>
<title>scripts: Set thread names.</title>
<updated>2017-05-28T21:13:39Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-05-28T14:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=8902d0f2676a500c785044fff54b8675f96cef6d'/>
<id>urn:sha1:8902d0f2676a500c785044fff54b8675f96cef6d</id>
<content type='text'>
This allows 'guix publish' threads as well as 'guix substitute' and
'guix offload' processes to be properly labeled in 'top', 'pstree', etc.

* guix/workers.scm (worker-thunk): Add #:thread-name parameter and honor it.
(make-pool): Likewise.
* guix/scripts/publish.scm (http-write): Add calls to 'set-thread-name'
in bodies of 'call-with-new-thread'.
(guix-publish): Call 'set-thread-name'.   Pass #:thread-name to 'make-pool'.
* guix/scripts/offload.scm (guix-offload): Call 'set-thread-name'.
* guix/scripts/substitute.scm (guix-substitute): Likewise.
</content>
</entry>
<entry>
<title>Add (guix workers).</title>
<updated>2017-04-18T21:17:17Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2017-04-17T20:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.jakob.space/guix.git/commit/?id=1563d6c79f759cb9a6cc5561463653f0f184cb36'/>
<id>urn:sha1:1563d6c79f759cb9a6cc5561463653f0f184cb36</id>
<content type='text'>
* guix/workers.scm, tests/workers.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* .dir-locals.el: Add rule for 'eventually'.
</content>
</entry>
</feed>
