<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/tpm.c, branch 0.9.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.9.2</id>
<link rel='self' href='http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.9.2'/>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/'/>
<updated>2018-01-09T08:53:56+00:00</updated>
<entry>
<title>include, src: Update copyright to 2018</title>
<updated>2018-01-09T08:53:56+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-01-09T07:18:02+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=0160f2df8335aaa516d13334042e429a0bbfd0ad'/>
<id>urn:sha1:0160f2df8335aaa516d13334042e429a0bbfd0ad</id>
<content type='text'>
Happy New Year, Ouroboros.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>lib: Cancel tpm threads instead of marking exit</title>
<updated>2017-09-30T15:58:18+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-09-30T15:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=9405ad97e20686f74c06bcbac9523a8b4f10272e'/>
<id>urn:sha1:9405ad97e20686f74c06bcbac9523a8b4f10272e</id>
<content type='text'>
This makes the threadpool use pthread_cancel instead of setting an
exit flag that threadpool managed threads check periodically. This
drastically reduces CPU consumption in the irmd when running a lot of
applications. It requires cancellation handlers in the ipcp and irmd
to be implemented to ensure safe cancellation during operation and
shutdown.
</content>
</entry>
<entry>
<title>ipcpd: Add threadpool manager to DHT</title>
<updated>2017-09-24T12:34:03+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-09-24T12:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=ff5063ad0e7902ce59864a466bd9d8d606d788e4'/>
<id>urn:sha1:ff5063ad0e7902ce59864a466bd9d8d606d788e4</id>
<content type='text'>
This adds a threadpool manager to the DHT. This was needed because the
detached thread could cause a data race on shutdown.

The threadpool manager is revised to allow multiple instances in a
single program.

The irmd and ipcp now store commands in a buffer (list) instead of a
single buffer before passing it to handler threads.
</content>
</entry>
<entry>
<title>build: Revise the build system</title>
<updated>2017-08-21T08:25:19+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-08-18T13:56:55+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=8f58e5a3ec0e4a15fc8ae0911cc864f5dbf86c6e'/>
<id>urn:sha1:8f58e5a3ec0e4a15fc8ae0911cc864f5dbf86c6e</id>
<content type='text'>
This revises the build system to have configuration per system
component. System settings can now be set using cmake.

The standard compliance defines were removed from configuration header
and are set in the sources where needed. Also some small code
refactors, such as moving the data for shims out of the ipcp structure
to the respective shims were performed.
</content>
</entry>
<entry>
<title>build: Replace fsf snail mail with contact URL</title>
<updated>2017-08-13T10:17:58+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-08-13T10:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=095c2414425952836e97d88a6dde6f4415725c68'/>
<id>urn:sha1:095c2414425952836e97d88a6dde6f4415725c68</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Fix TPM thread count on failure</title>
<updated>2017-08-13T09:24:27+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-08-13T09:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=9b7f03ae5e1ac92c5a33979067c31a46468c35e1'/>
<id>urn:sha1:9b7f03ae5e1ac92c5a33979067c31a46468c35e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: Fix instability in threadpool manager</title>
<updated>2017-08-12T21:01:11+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-08-12T20:29:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=7729888c3fe454733759903a56c0e3e82ac3f31b'/>
<id>urn:sha1:7729888c3fe454733759903a56c0e3e82ac3f31b</id>
<content type='text'>
The threadpool manager now tracks threads to prevent cyclic behaviour
where too many threads shut down and the TPM responds with creating
additional threads.
</content>
</entry>
<entry>
<title>lib: Add threadpool manager</title>
<updated>2017-07-26T08:39:51+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2017-07-25T17:54:39+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=809abada865727ea986d69afcf2a9a3b00df560a'/>
<id>urn:sha1:809abada865727ea986d69afcf2a9a3b00df560a</id>
<content type='text'>
This adds a threadpool manager component in the library that is used
in the IRMd and IPCPs. The threadpool manager now doesn't detach
threads but does a join when they exit. This solves a data race in the
previous implementation where some threads were not completely finished
upon release of some resources.
</content>
</entry>
</feed>
