Re: [systemd-devel] [PATCH 1/3] shared: add generic IPC barrier

2014-07-14 Thread Tom Gundersen
On Sun, Jul 13, 2014 at 5:37 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Sun, Jul 13, 2014 at 1:30 PM, Tom Gundersen t...@jklm.no wrote: Couple of random nitpicks below. On Sun, Jul 13, 2014 at 12:37 PM, David Herrmann dh.herrm...@gmail.com wrote: The Barrier object is a simple

[systemd-devel] [PATCH 1/3] shared: add generic IPC barrier

2014-07-13 Thread David Herrmann
The Barrier object is a simple inter-process barrier implementation. It allows placing synchronization points and waiting for the other side to reach it. Additionally, it has an abortion-mechanism as second-layer synchronization to send abortion-events asynchronously to the other side. The API is