diff options
Diffstat (limited to 'gd/os/linux_generic/thread.cc')
-rw-r--r-- | gd/os/linux_generic/thread.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gd/os/linux_generic/thread.cc b/gd/os/linux_generic/thread.cc index e1c1a3436..c2969fe2f 100644 --- a/gd/os/linux_generic/thread.cc +++ b/gd/os/linux_generic/thread.cc @@ -17,9 +17,8 @@ #include "os/thread.h" #include <fcntl.h> -#include <sys/syscall.h> #include <unistd.h> - +#include <sys/syscall.h> #include <cerrno> #include <cstring> @@ -33,7 +32,9 @@ constexpr int kRealTimeFifoSchedulingPriority = 1; } Thread::Thread(const std::string& name, const Priority priority) - : name_(name), reactor_(), running_thread_(&Thread::run, this, priority) {} + : name_(name), + reactor_(), + running_thread_(&Thread::run, this, priority) {} void Thread::run(Priority priority) { if (priority == Priority::REAL_TIME) { |