<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/lockfile.c, branch 0.3</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.3</id>
<link rel='self' href='http://www.ouroboros.rocks/cgit/ouroboros/atom?h=0.3'/>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/'/>
<updated>2016-10-21T12:17:51Z</updated>
<entry>
<title>lib: Demultiplex the fast path</title>
<updated>2016-10-21T12:17:51Z</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-10-19T20:25:46Z</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=f516b51169020ea1957010fbd1005d746f01b1d9'/>
<id>urn:sha1:f516b51169020ea1957010fbd1005d746f01b1d9</id>
<content type='text'>
The fast path will now use an incoming ring buffer per flow per
process. This necessitated the development of a new method for the
asynchronous io call, which is now based on an event queue system for
scalability (fqueue). The ipcpd's and tools have been updated to this
API.
</content>
</entry>
<entry>
<title>lib: Fix shm for evil devices</title>
<updated>2016-09-08T08:26:04Z</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-09-08T08:26:04Z</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=2e561a634ae3e747b293a4e05eaf44726968dc1a'/>
<id>urn:sha1:2e561a634ae3e747b293a4e05eaf44726968dc1a</id>
<content type='text'>
Cupertino's finest don't seem to support a write call with a
filedescriptor that points to a shared memory file. ENOTSUP is not
mentioned in their manpage either. Classic.
</content>
</entry>
<entry>
<title>lib: Set umask for file creation permissions</title>
<updated>2016-09-07T12:53:19Z</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-09-07T12:53:19Z</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=a92a55f2489820f030f461ebc09d621b001a01df'/>
<id>urn:sha1:a92a55f2489820f030f461ebc09d621b001a01df</id>
<content type='text'>
Permissions are now set correctly upon creation, removing the need to
call fchmod.
</content>
</entry>
<entry>
<title>lib: Portability to FreeBSD</title>
<updated>2016-07-29T11:58:38Z</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-07-28T19:15:17Z</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=ce401448d62f65956ed57b077af2b315f59efe94'/>
<id>urn:sha1:ce401448d62f65956ed57b077af2b315f59efe94</id>
<content type='text'>
Various portability fixes for FreeBSD. POSIX requires shm file names
to start with a "/" to be portable.  lseek(2) can be undefined on
POSIX shm, replaced with ftruncate(2). IRMd check on existing lockfile
more portable.

FreeBSD 11.0 is preferred as it natively supports robust mutexes.
Full working LLC implementation pending.
</content>
</entry>
<entry>
<title>lib: Add lockfile</title>
<updated>2016-07-07T13:12:42Z</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-07-07T13:12:42Z</published>
<link rel='alternate' type='text/html' href='http://www.ouroboros.rocks/cgit/ouroboros/commit/?id=04a8f3ceedefa63f9344311e5ff05ab3ce754fda'/>
<id>urn:sha1:04a8f3ceedefa63f9344311e5ff05ab3ce754fda</id>
<content type='text'>
The pid of the IRMd is stored in a lockfile in shared memory. This
makes checking if the IRMd is running independent of the
configuration, as previously the IRMd pid was stored at the end of the
shm_du_map, which could not be read by an IRMd that would be compiled
with different configuration options.

Also corrects some unnecessary includes

Fixes #21.
</content>
</entry>
</feed>
