~mir-team/mir/in-process-egl+input-conglomeration

« back to all changes in this revision

Viewing changes to 3rd_party/android-deps/std/Thread.h

Merged trunk and fixed issues

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef MIR_ANDROID_UBUNTU_THREAD_H_
21
21
#define MIR_ANDROID_UBUNTU_THREAD_H_
22
22
 
23
 
#include ANDROIDFW_UTILS(Errors.h)
24
 
#include ANDROIDFW_UTILS(ThreadDefs.h)
25
 
#include ANDROIDFW_UTILS(RefBase.h)
 
23
#include <std/Errors.h>
 
24
#include <std/ThreadDefs.h>
 
25
#include <std/RefBase.h>
26
26
 
27
27
#include <thread>
28
28
#include <atomic>
52
52
        (void)name; (void)priority; (void)stack;
53
53
 
54
54
        status.store(NO_ERROR);
 
55
        exit_pending.store(false);
55
56
 
56
57
        thread = std::thread([this]() -> void
57
58
            {