summaryrefslogtreecommitdiffstats
path: root/xbmc/platform/posix/PlatformPosix.h
blob: 08513b984f6ca96a7767aa4819f39b9235495344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 *  Copyright (C) 2019 Team Kodi
 *  This file is part of Kodi - https://kodi.tv
 *
 *  SPDX-License-Identifier: GPL-2.0-or-later
 *  See LICENSES/README.md for more information.
 */

#pragma once

#include "platform/Platform.h"

#include <atomic>

class CPlatformPosix : public CPlatform
{
public:
  bool InitStageOne() override;

  static bool TestQuitFlag();
  static void RequestQuit();

private:
  static std::atomic_flag ms_signalFlag;
};