Files
tyra-linux/engine/inc/thread/threading.hpp
T
2022-08-11 10:20:35 +02:00

28 lines
535 B
C++

/*
# _____ ____ ___
# | \/ ____| |___|
# | | | \ | |
#-----------------------------------------------------------------------
# Copyright 2022, tyra - https://github.com/h4570/tyra
# Licensed under Apache License 2.0
# Sandro Sobczyński <sandro.sobczynski@gmail.com>
*/
#pragma once
#include <tamtypes.h>
namespace Tyra {
class Threading {
public:
Threading();
~Threading();
static void sleep(const u32& ms);
static void switchThread();
};
} // namespace Tyra