Merge lp:~afrantzis/mir/fix-1477467-callback-before-wait-handle into lp:mir
Proposed by
Alexandros Frantzis
Status: | Merged |
---|---|
Approved by: | Alan Griffiths |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2776 |
Proposed branch: | lp:~afrantzis/mir/fix-1477467-callback-before-wait-handle |
Merge into: | lp:mir |
Diff against target: |
309 lines (+242/-3) 6 files modified
src/client/buffer_stream.cpp (+3/-3) src/client/mir_wait_handle.cpp (+6/-0) src/client/mir_wait_handle.h (+2/-0) tests/acceptance-tests/CMakeLists.txt (+1/-0) tests/acceptance-tests/test_client_library_callbacks.cpp (+180/-0) tests/unit-tests/client/test_client_buffer_stream.cpp (+50/-0) |
To merge this branch: | bzr merge lp:~afrantzis/mir/fix-1477467-callback-before-wait-handle |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Alan Griffiths | Approve | ||
Kevin DuBois (community) | Approve | ||
Review via email: mp+265636@code.launchpad.net |
Commit message
client: Ensure the callback for mir_buffer_
Description of the change
client: Ensure the callback for mir_buffer_
This MP also adds acceptance tests to check this behavior in a few other callbacks too. Since the acceptance tests don't have access to mirclient internal code, they depend on a small artificial delay to trigger the desired effect/race. Although not ideal, this is good enough in practice.
To post a comment you must log in.
lgtm