<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/shm_ap_rbuff.c, branch 0.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.2</id>
<link rel='self' href='http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/'/>
<updated>2016-07-02T17:11:12+00:00</updated>
<entry>
<title>lib: robust locking in shared memory and crash recovery</title>
<updated>2016-07-02T17:11:12+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-30T21:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=79475a4742bc28e1737044f2300bcb601e6e10bf'/>
<id>urn:sha1:79475a4742bc28e1737044f2300bcb601e6e10bf</id>
<content type='text'>
This PR enhances the shared memory providing recovery if a process
crashes. It adds a SHM_DU_TIMEOUT_MICROS variable, setting an
expiration time for SDU's when shared memory is full. If an
application doesn't read a blocking SDU within this time, the shared
memory will be cleansed of all SDU's for this application and the
application's rbuff will be cleared.

Some refactoring of the API's. Fixed wrong pthread checks in IRMd.

Fixes #13
Fixes #14
</content>
</entry>
<entry>
<title>lib, irmd, ipcpd: Change pid to api</title>
<updated>2016-06-28T14:45:45+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-28T14:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=99d19307fae8f1370f52a62aee88fded624ad464'/>
<id>urn:sha1:99d19307fae8f1370f52a62aee88fded624ad464</id>
<content type='text'>
Changes the variable name as well to API instead of PID.
</content>
</entry>
<entry>
<title>build: Change install directories and set correct permissions</title>
<updated>2016-06-20T18:57:25+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-20T18:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=16323dcc9df15020e368d4324cf1c1d9dceac805'/>
<id>urn:sha1:16323dcc9df15020e368d4324cf1c1d9dceac805</id>
<content type='text'>
This sets the correct install directories for all the binaries,
library and header files. It also sets the right permissions on the
sockets and shared memory so that regular users can also use the
ouroboros library. Root privileges are required to run the irmd.

Fixes #7
</content>
</entry>
<entry>
<title>ipcpd: fixes shutdown lockup in local and shim-udp</title>
<updated>2016-05-29T08:15:54+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-29T08:15:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=462a3fb9b915dedf8b061b68a4db93f6e22ab29d'/>
<id>urn:sha1:462a3fb9b915dedf8b061b68a4db93f6e22ab29d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: small tweaks for shm_ap_rbuff</title>
<updated>2016-05-29T07:39:47+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-29T07:39:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=ee1974debcfba8d8b10ea9a60437d04502b965dc'/>
<id>urn:sha1:ee1974debcfba8d8b10ea9a60437d04502b965dc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib: shm_ap_rbuff: sleep when read on empty rbuff</title>
<updated>2016-05-28T20:25:42+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-28T20:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=e7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5'/>
<id>urn:sha1:e7aa1ba135d358a0c03c9bcb7157c86a6d9e95c5</id>
<content type='text'>
When the ring buffer is empty, a read call will sleep. A write call on
an empty ring buffer will wake up sleeping readers.
</content>
</entry>
<entry>
<title>lib, ipcpd, irmd: fixes deallocation and fast path</title>
<updated>2016-05-22T13:04:20+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-22T12:53:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=dfe5a46fb5315112d1173ac983ffc416dc3ecf18'/>
<id>urn:sha1:dfe5a46fb5315112d1173ac983ffc416dc3ecf18</id>
<content type='text'>
The fast path has been rewritten to have certainty to read the correct
flow. Deallocation will not release port_id's or fd's until they are
explicitly released locally.
</content>
</entry>
<entry>
<title>lib: allow parallel connections</title>
<updated>2016-05-20T15:47:45+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-20T15:22:04+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=d32d7eae209f3ee09a690cc9adb6ea277e0d17aa'/>
<id>urn:sha1:d32d7eae209f3ee09a690cc9adb6ea277e0d17aa</id>
<content type='text'>
dev.c: read now only reads an SDU if is is for the correct port_id
shm_ap_rbuff: added a function peek() that returns the port_id of the
tail.
</content>
</entry>
<entry>
<title>lib: cleanup file descriptors for shared memory</title>
<updated>2016-05-15T13:49:46+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-15T13:43:47+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=5fe9706b823cd441703239ece020e517d722d88c'/>
<id>urn:sha1:5fe9706b823cd441703239ece020e517d722d88c</id>
<content type='text'>
cleanup of file descriptors for the shared memory.
also adds a missing NULL check and some invalidation in dev.c
</content>
</entry>
<entry>
<title>lib: shm_ap_rbuff: simplified file offsets</title>
<updated>2016-05-15T00:31:54+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-15T00:31:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=e79f151adc07538fbb1057442df2c1fe6ac01836'/>
<id>urn:sha1:e79f151adc07538fbb1057442df2c1fe6ac01836</id>
<content type='text'>
Used simpler pointer arithmetic to calculate the file offset pointers.
</content>
</entry>
</feed>
