<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cimple/src/worker_queue.c, branch meson</title>
<subtitle>My little CI system (hopefully)</subtitle>
<id>http://git.tensin.name/cimple/atom?h=meson</id>
<link rel='self' href='http://git.tensin.name/cimple/atom?h=meson'/>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/'/>
<updated>2026-09-21T17:19:05Z</updated>
<entry>
<title>remove annoying trailing period from repo URLs</title>
<updated>2026-09-21T17:19:05Z</updated>
<author>
<name>Egor Tensin</name>
<email>egor@tensin.name</email>
</author>
<published>2026-09-21T17:19:05Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=588fd2262c2f65e237a5a4e4858e06b4b87aaae3'/>
<id>urn:sha1:588fd2262c2f65e237a5a4e4858e06b4b87aaae3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>switch from tabs to spaces</title>
<updated>2026-06-13T17:51:04Z</updated>
<author>
<name>Egor Tensin</name>
<email>egor@tensin.name</email>
</author>
<published>2026-06-13T17:51:00Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=84262d9f69aa6730c69f464b5b4fb7f6030bf329'/>
<id>urn:sha1:84262d9f69aa6730c69f464b5b4fb7f6030bf329</id>
<content type='text'>
It was fun while it lasted, but I do believe that spaces are strictly
superior, and clang-format struggles with tabs while using advanced
configuration options.
</content>
</entry>
<entry>
<title>unify my .clang-format files</title>
<updated>2026-06-12T15:20:08Z</updated>
<author>
<name>Egor Tensin</name>
<email>egor@tensin.name</email>
</author>
<published>2026-06-12T15:20:08Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=1160cdb21e0b667269299853cb47a4aa88948dc3'/>
<id>urn:sha1:1160cdb21e0b667269299853cb47a4aa88948dc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>switch to egor@tensin.name</title>
<updated>2023-12-12T20:29:42Z</updated>
<author>
<name>Egor Tensin</name>
<email>egor@tensin.name</email>
</author>
<published>2023-12-12T20:29:42Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=82c5f204346def706fdc7ee28a8e2570fb880369'/>
<id>urn:sha1:82c5f204346def706fdc7ee28a8e2570fb880369</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tcp_server: keep track of client threads</title>
<updated>2023-07-05T14:18:05Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-07-05T13:30:57Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=8465f8181eda45e3d6cc5d6c3d08ca36db04763b'/>
<id>urn:sha1:8465f8181eda45e3d6cc5d6c3d08ca36db04763b</id>
<content type='text'>
This is a major change, obviously; brought to me by Valgrind, which
noticed that we don't actually clean up after cimple-client threads.
For a more thorough explanation, please see the added comment in
tcp_server.c.
</content>
</entry>
<entry>
<title>worker_queue: fix worker_queue_add_last</title>
<updated>2023-06-09T08:02:17Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-06-09T08:02:17Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=5db8d040113533ea000585244ebe039f6412c000'/>
<id>urn:sha1:5db8d040113533ea000585244ebe039f6412c000</id>
<content type='text'>
</content>
</entry>
<entry>
<title>STAILQ -&gt; SIMPLEQ</title>
<updated>2023-06-09T07:23:54Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-06-09T07:23:54Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=9afecc03260a938fa57389ce3adffa5052df8076'/>
<id>urn:sha1:9afecc03260a938fa57389ce3adffa5052df8076</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add {file,net}_close as a wrapper to close(2)</title>
<updated>2023-06-08T22:01:11Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-06-08T21:57:49Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=fb80276084a9adc0014b1008f8bf8253f126293b'/>
<id>urn:sha1:fb80276084a9adc0014b1008f8bf8253f126293b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>worker_queue: forgot to close file descriptors in worker_destroy</title>
<updated>2023-05-15T15:14:26Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-15T15:14:26Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=7d54db53955ab7adf20e78c260507beedde4d9f5'/>
<id>urn:sha1:7d54db53955ab7adf20e78c260507beedde4d9f5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rework server-worker communication</title>
<updated>2023-05-15T13:32:17Z</updated>
<author>
<name>Egor Tensin</name>
<email>Egor.Tensin@gmail.com</email>
</author>
<published>2023-05-15T13:31:33Z</published>
<link rel='alternate' type='text/html' href='http://git.tensin.name/cimple/commit/?id=7cd83e15139447156ca915ce2d9d19295c146d56'/>
<id>urn:sha1:7cd83e15139447156ca915ce2d9d19295c146d56</id>
<content type='text'>
OK, this is a major rework.

* tcp_server: connection threads are not detached anymore, the caller has
  to clean them up. This was done so that the server can clean up the
  threads cleanly.
* run_queue: simple refactoring, run_queue_entry is called just run now.
* server: worker threads are now killed when a run is assigned to a
  worker.
* worker: the connection to server is no longer persistent. A worker
  sends "new-worker", waits for a task, closes the connection, and when
  it's done, sends the "complete" message and waits for a new task.

This is supposed to improve resilience, since the worker-server
connections don't have to be maintained while the worker is doing a CI
run.
</content>
</entry>
</feed>
