<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_system_libfmq/EventFlag.cpp, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/'/>
<entry>
<title>Add missing includes.</title>
<updated>2017-10-11T19:44:12+00:00</updated>
<author>
<name>Dan Albert</name>
<email>danalbert@google.com</email>
</author>
<published>2017-10-11T19:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=06c7a6f3cdf9f705680d98996b1cef0ea6e4de7d'/>
<id>06c7a6f3cdf9f705680d98996b1cef0ea6e4de7d</id>
<content type='text'>
Test: mma
Bug: None
Change-Id: Ia4a43d699e24c4f542be4d0d3ec550a3781db633
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: mma
Bug: None
Change-Id: Ia4a43d699e24c4f542be4d0d3ec550a3781db633
</pre>
</div>
</content>
</entry>
<entry>
<title>EventFlag: += unistd.h</title>
<updated>2017-04-14T01:20:19+00:00</updated>
<author>
<name>Steven Moreland</name>
<email>smoreland@google.com</email>
</author>
<published>2017-04-14T01:20:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=26531e0ec6fa5b80be2be9ea0017b8ee1638f377'/>
<id>26531e0ec6fa5b80be2be9ea0017b8ee1638f377</id>
<content type='text'>
Missing dependency shows up when libfmq is installed using the
BOARD_VNDK_VERSION := current because it gets a different version of
liblog headers that no longer include it transitively.

Test: links
Test: try to compiles with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I08543634f6b249550e67bb7cc97b9bcffe1792d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Missing dependency shows up when libfmq is installed using the
BOARD_VNDK_VERSION := current because it gets a different version of
liblog headers that no longer include it transitively.

Test: links
Test: try to compiles with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: I08543634f6b249550e67bb7cc97b9bcffe1792d3
</pre>
</div>
</content>
</entry>
<entry>
<title>Add optional retry parameter to EventFlag wait()</title>
<updated>2017-03-31T02:46:15+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2017-03-21T18:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=f542b5a8383ff3d03b1735f72a9524b5edf31071'/>
<id>f542b5a8383ff3d03b1735f72a9524b5edf31071</id>
<content type='text'>
This is to add an option to automatically retry waiting
in case of spurious EventFlag wakes.

Also modify ReadBlocking()/WriteBlocking() implementation to use
the new wait API with automatic retry.

Bug: 35995121
Test: fmq_test passes, all unit tests which use
readBlocking()/writeBlocking() methods will test the new retry parameter.

Change-Id: Id97024f18086fe26efd00d01391e453bf4e9cb3f
Merged-In: Id97024f18086fe26efd00d01391e453bf4e9cb3f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to add an option to automatically retry waiting
in case of spurious EventFlag wakes.

Also modify ReadBlocking()/WriteBlocking() implementation to use
the new wait API with automatic retry.

Bug: 35995121
Test: fmq_test passes, all unit tests which use
readBlocking()/writeBlocking() methods will test the new retry parameter.

Change-Id: Id97024f18086fe26efd00d01391e453bf4e9cb3f
Merged-In: Id97024f18086fe26efd00d01391e453bf4e9cb3f
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle spurious futex wakes in EventFlag</title>
<updated>2017-03-03T18:21:42+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2017-03-03T15:57:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=77c8aba447488b2507f9531fa17e80b06c5bb0df'/>
<id>77c8aba447488b2507f9531fa17e80b06c5bb0df</id>
<content type='text'>
Sometimes a return value of 0 from FUTEX_WAIT_BITSET can mean
a spurious wakeup. EventFlag should examine the futex
word's value on a wake and return an appropriate
error code.

Test: Fixes issue in b/35813113.
Bug: 35813113

Change-Id: Id055b225f394ebc2fd3dcafa24edffc7a228df10
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sometimes a return value of 0 from FUTEX_WAIT_BITSET can mean
a spurious wakeup. EventFlag should examine the futex
word's value on a wake and return an appropriate
error code.

Test: Fixes issue in b/35813113.
Bug: 35813113

Change-Id: Id055b225f394ebc2fd3dcafa24edffc7a228df10
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix incorrect comment in EventFlag implementation.</title>
<updated>2017-01-19T23:27:39+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2017-01-19T20:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=af605d4be8b9a0c190b44b85a582a4b9a5f99f3b'/>
<id>af605d4be8b9a0c190b44b85a582a4b9a5f99f3b</id>
<content type='text'>
Test: mm
Bug: 34360854
Change-Id: Id9804432399969437b790870a6cb8eab1819c740
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: mm
Bug: 34360854
Change-Id: Id9804432399969437b790870a6cb8eab1819c740
</pre>
</div>
</content>
</entry>
<entry>
<title>Make EventFlag logging a little bit less noisy by not logging situations</title>
<updated>2017-01-11T20:45:18+00:00</updated>
<author>
<name>Andreas Huber</name>
<email>andih@google.com</email>
</author>
<published>2017-01-11T20:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=3c2dcb1856d0725f402751e1334044ef8eb1df87'/>
<id>3c2dcb1856d0725f402751e1334044ef8eb1df87</id>
<content type='text'>
in which waiting for an EventFlag times out.

Bug: 34224077
Test: make
Change-Id: I6c43e964c248f77352e6dfc6966163e88e1cfe70
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
in which waiting for an EventFlag times out.

Bug: 34224077
Test: make
Change-Id: I6c43e964c248f77352e6dfc6966163e88e1cfe70
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify Wait() method to take timeout duration in ns.</title>
<updated>2016-12-27T21:16:21+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2016-12-20T20:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=10f59dc950f859119431f0e0c8368a882a7fa586'/>
<id>10f59dc950f859119431f0e0c8368a882a7fa586</id>
<content type='text'>
Check for timeout in unit tests. Also, minor indentation fixes.

Bug: 31223612
Test: FMQ unit tests

Change-Id: I130e55349d488bc61ab193033f4773dd6aa7a222
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Check for timeout in unit tests. Also, minor indentation fixes.

Bug: 31223612
Test: FMQ unit tests

Change-Id: I130e55349d488bc61ab193033f4773dd6aa7a222
</pre>
</div>
</content>
</entry>
<entry>
<title>Add EventFlag support in default MessageQueue constructor.</title>
<updated>2016-12-21T22:01:21+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2016-12-19T22:57:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=92b79dc7938ad2b5e36aebef80d78b061db275b3'/>
<id>92b79dc7938ad2b5e36aebef80d78b061db275b3</id>
<content type='text'>
Also, fix bug in Wait() that was not resetting EventFlag word that
caused a wakeup and return the bits that caused the wakeup correctly.

Bug: 31223612 33295104

Test: FMQ unit tests
Change-Id: I08ff912878282e0ce53612970e16232a8a2bbca5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, fix bug in Wait() that was not resetting EventFlag word that
caused a wakeup and return the bits that caused the wakeup correctly.

Bug: 31223612 33295104

Test: FMQ unit tests
Change-Id: I08ff912878282e0ce53612970e16232a8a2bbca5
</pre>
</div>
</content>
</entry>
<entry>
<title>Move all FMQ code to system/libfmq.</title>
<updated>2016-12-21T18:17:27+00:00</updated>
<author>
<name>Hridya Valsaraju</name>
<email>hridya@google.com</email>
</author>
<published>2016-12-16T18:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_system_libfmq/commit/?id=8b0d5a5c20cfc786f783e44442787c5ea53f0001'/>
<id>8b0d5a5c20cfc786f783e44442787c5ea53f0001</id>
<content type='text'>
All include files are moved into a subdirectory to avoid file name
conflicts.

Bug: 32311713 33295104
Test: built and ran FMQ unit tests and benchmarks

Merged-In: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
Change-Id: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All include files are moved into a subdirectory to avoid file name
conflicts.

Bug: 32311713 33295104
Test: built and ran FMQ unit tests and benchmarks

Merged-In: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
Change-Id: Ica9834c079b05ed3b2720113fc5ed00f36f1cb6a
</pre>
</div>
</content>
</entry>
</feed>
