<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/libsync/include, branch master</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>libsync: ndk: Fix compilation in C mode.</title>
<updated>2017-04-14T22:12:06+00:00</updated>
<author>
<name>Alistair Strachan</name>
<email>alistair.strachan@imgtec.com</email>
</author>
<published>2017-03-07T01:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=5bebf84845bbe1fd7fa9b12592589b443b3615a2'/>
<id>5bebf84845bbe1fd7fa9b12592589b443b3615a2</id>
<content type='text'>
Use of 'inline' without 'static' may allow the C compiler to uninline it
within the compilation unit, depending on the C standard level. Always
using 'static inline' avoids this problem.

Test: build + boot to launcher
Change-Id: Ifb6e1fa6b84286067ddc2daca4c8942c410e56ab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use of 'inline' without 'static' may allow the C compiler to uninline it
within the compilation unit, depending on the C standard level. Always
using 'static inline' avoids this problem.

Test: build + boot to launcher
Change-Id: Ifb6e1fa6b84286067ddc2daca4c8942c410e56ab
</pre>
</div>
</content>
</entry>
<entry>
<title>sync: rename sync/sync.h to android/sync.h</title>
<updated>2017-02-24T02:44:50+00:00</updated>
<author>
<name>Jesse Hall</name>
<email>jessehall@google.com</email>
</author>
<published>2017-02-13T23:19:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=41129a2526d4a8bc3510bc65c0e39e1e9d4700d2'/>
<id>41129a2526d4a8bc3510bc65c0e39e1e9d4700d2</id>
<content type='text'>
Leave a temporary symlink from the old name to avoid having to change
all dependencies simultaneously.

Bug: 1901466
Test: m
Change-Id: Id210f0091457e52e1a6e048d241a723bdbe8779b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leave a temporary symlink from the old name to avoid having to change
all dependencies simultaneously.

Bug: 1901466
Test: m
Change-Id: Id210f0091457e52e1a6e048d241a723bdbe8779b
</pre>
</div>
</content>
</entry>
<entry>
<title>sync: move declarations from sync/sync.h to sync.c</title>
<updated>2017-02-24T02:44:50+00:00</updated>
<author>
<name>Jesse Hall</name>
<email>jessehall@google.com</email>
</author>
<published>2017-02-13T00:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=b7fdb2a1284143b8cee11483646b8753262ad165'/>
<id>b7fdb2a1284143b8cee11483646b8753262ad165</id>
<content type='text'>
None of these should be needed or used outside of sync.c.

Test: lunch bullhead-eng ; m
Change-Id: I548a499d0e2ada2ab4987e63a8116327c3be0076
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
None of these should be needed or used outside of sync.c.

Test: lunch bullhead-eng ; m
Change-Id: I548a499d0e2ada2ab4987e63a8116327c3be0076
</pre>
</div>
</content>
</entry>
<entry>
<title>sync: Add NDK sync.h and libsync</title>
<updated>2017-02-24T02:44:50+00:00</updated>
<author>
<name>Jesse Hall</name>
<email>jessehall@google.com</email>
</author>
<published>2017-02-12T06:50:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=081806e5f2e9f8b573827b0f3d4b35d8ddb64cb9'/>
<id>081806e5f2e9f8b573827b0f3d4b35d8ddb64cb9</id>
<content type='text'>
The new header provides an updated interface to libsync appropriate
for the NDK. Clients use existing syscalls where possible (e.g. poll()
instead of sync_wait()), and the remaining functions return structures
used in mainline Linux kernels rather than the Android staging sync
framework.

Over time, framework clients will be migrated to using the NDK
interface, which will eventually replace the current internal
interface. The only difference is the header will be named
&lt;android/sync.h&gt; in the NDK and &lt;sync/sync.h&gt; internally.

Bug: 35138793
Test: sync-unit-tests on bullhead
Change-Id: Ieb3649b80565393e26b604416158438d32c2a256
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new header provides an updated interface to libsync appropriate
for the NDK. Clients use existing syscalls where possible (e.g. poll()
instead of sync_wait()), and the remaining functions return structures
used in mainline Linux kernels rather than the Android staging sync
framework.

Over time, framework clients will be migrated to using the NDK
interface, which will eventually replace the current internal
interface. The only difference is the header will be named
&lt;android/sync.h&gt; in the NDK and &lt;sync/sync.h&gt; internally.

Bug: 35138793
Test: sync-unit-tests on bullhead
Change-Id: Ieb3649b80565393e26b604416158438d32c2a256
</pre>
</div>
</content>
</entry>
<entry>
<title>libsync: add new Sync kernel API</title>
<updated>2017-01-17T22:28:26+00:00</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.com</email>
</author>
<published>2016-06-10T19:24:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=6786575d42e78c8faa51393871eb958d87d57e08'/>
<id>6786575d42e78c8faa51393871eb958d87d57e08</id>
<content type='text'>
Add the new API to the internal sync.h file. As there is two different
APIs we will need to discovery dynamically which one to use.

v2: Fix Documentation

Test: Sync unit tests still passes.
Change-Id: I2ab3cd46e48ba5d9c73d54f9583b1a8141566581
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the new API to the internal sync.h file. As there is two different
APIs we will need to discovery dynamically which one to use.

v2: Fix Documentation

Test: Sync unit tests still passes.
Change-Id: I2ab3cd46e48ba5d9c73d54f9583b1a8141566581
</pre>
</div>
</content>
</entry>
<entry>
<title>libsync: move kernel headers for sync ioctls to sync.h</title>
<updated>2017-01-17T22:28:00+00:00</updated>
<author>
<name>Gustavo Padovan</name>
<email>gustavo.padovan@collabora.com</email>
</author>
<published>2016-06-10T19:09:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=d6bbc5de66fc7ac51773bc92d6a48a94e622f9b1'/>
<id>d6bbc5de66fc7ac51773bc92d6a48a94e622f9b1</id>
<content type='text'>
This patch moves the legacy API to the internal sync.h header
and add documentation to it.

Test: Sync unit tests still passes.
Change-Id: I9b17eb23af30043b3df5fb9e857affad68ba8521
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch moves the legacy API to the internal sync.h header
and add documentation to it.

Test: Sync unit tests still passes.
Change-Id: I9b17eb23af30043b3df5fb9e857affad68ba8521
</pre>
</div>
</content>
</entry>
<entry>
<title>move sync headers from include to libsync</title>
<updated>2014-01-03T21:27:05+00:00</updated>
<author>
<name>Rom Lemarchand</name>
<email>romlem@google.com</email>
</author>
<published>2014-01-03T03:31:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=ddc20de1483028ee0b4401266499a59631e9d659'/>
<id>ddc20de1483028ee0b4401266499a59631e9d659</id>
<content type='text'>
Make sw_sync.h private

Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make sw_sync.h private

Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
</pre>
</div>
</content>
</entry>
</feed>
